How to Get user's ISO 3166-1 alpha-2 country code on device android/ios? For GDPR consent, unity admob plugin.
Hi, any idea on how to get user's ISO 3166-1 alpha-2 country code on device android/ios?
It is needed to request consent for gdpr, google hasn't yet released the Unity Admob plugin gdpr consent Eu compliant, and probably it will not available for deadline of 25th of May; so I'm trying this workaround : https://groups.google.com/forum/m/#!msg/google-admob-ads-sdk/Penk7_E9fIo/prC3cRjhCQAJ
I found a partial answer here : https://answers.unity.com/questions/1039653/get-iso-3166-code-on-mobile-device.html, but using system language, if it is "EN"can't distinguish between US, UK, AU etc.
Thank you in any case :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612163241im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Interstitial Ads Network 0 Answers
Admob not working i not find a solution 1 Answer
can i use admob ads with unity ads in Unity3d Game? 0 Answers
Admob interstitial ads 2 Answers
Xcode build error 0 Answers