英文:
Check if the user is from california
问题
我想检查我Android应用的用户是否来自加利福尼亚,以便我的应用遵守《加利福尼亚消费者隐私法》(CCPA)。
对于《通用数据保护条例》(GDPR),我可以通过使用以下网址来实现:
https://adservice.google.com/getconfig/pubvendors
我不想在将位置权限添加到我的应用后获取用户位置,因为那超出了我应用的上下文或范围。
我尝试在stackoverflow上寻找解决方案,但它们不太可靠,其中一些是收费的。
英文:
I want to check if the user of my android app is from California so that my app complies with CCPA.
For GDPR i can do that by using this URL
https://adservice.google.com/getconfig/pubvendors
I do not want to get the user location after adding the location permission to my app as that is out of the context or scope of my app
I tried looking for solutions on stackoverflow but they are not reliable and some of them are paid.
专注分享java语言的经验与见解,让所有开发者获益!
评论