如果我不在欧洲,如何测试 GDPR?
How to test GDPR if I'm not in Europe?
MoPub 终于发布了适用于 GDPR 的 SDK,我正在按照他们的说明进行操作,他们的代码告诉我我不需要同意,因为我在美国,这是有道理的。然后我切换到德国的 VPN,它继续告诉我同样的事情。那么我该如何测试呢?
这是我正在使用的代码:
PersonalInfoManager mPersonalInfoManager = MoPub.getPersonalInformationManager();
boolean gdprApplies = mPersonalInfoManager.gdprApplies();
boolean shouldShowConsentDialog = mPersonalInfoManager.shouldShowConsentDialog();
在德国使用 VPN 时 gdprApplies
和 shouldShowConsentDialog
都是 false
,我什至在清除应用程序数据后尝试过。
它可能正在使用您的 phones 区域设置而不是网络。尝试在 phone.
上设置区域
它也可能在使用 sim 国家,所以启动一个模拟器和 运行 这个命令来伪造你的 sim 地区
adb root
adb shell
setprop gsm.sim.operator.iso-country gb
我使用 VPN 获取欧洲 IP 地址,欧盟同意对话框显示正确。
也许您需要清除缓存或重新安装您的应用。
首先,如果您是欧盟公民,GDPR 确实适用于美国境外。所以 "spoofing like you are in UE" 不符合 GDPR 的任何规定(您也可以查看解释 here)。
其次 - 全部 in the docs, please read it:
GDPR Applies: If we detect that a user opened a given application for the first time in the European Economic Area, United Kingdom, or Switzerland, as determined by the user’s truncated IP address, MoPub will consider GDPR applying to that user for the lifetime of that application, meaning that MoPub requires the user’s consent before serving personalized ads. As of SDK 5.0, if the user opened the application for the first time in any region outside of the European Economic Area, United Kingdom, and Switzerland, we will always treat the user as having consent.
MoPub 终于发布了适用于 GDPR 的 SDK,我正在按照他们的说明进行操作,他们的代码告诉我我不需要同意,因为我在美国,这是有道理的。然后我切换到德国的 VPN,它继续告诉我同样的事情。那么我该如何测试呢?
这是我正在使用的代码:
PersonalInfoManager mPersonalInfoManager = MoPub.getPersonalInformationManager();
boolean gdprApplies = mPersonalInfoManager.gdprApplies();
boolean shouldShowConsentDialog = mPersonalInfoManager.shouldShowConsentDialog();
在德国使用 VPN 时 gdprApplies
和 shouldShowConsentDialog
都是 false
,我什至在清除应用程序数据后尝试过。
它可能正在使用您的 phones 区域设置而不是网络。尝试在 phone.
上设置区域它也可能在使用 sim 国家,所以启动一个模拟器和 运行 这个命令来伪造你的 sim 地区
adb root
adb shell
setprop gsm.sim.operator.iso-country gb
我使用 VPN 获取欧洲 IP 地址,欧盟同意对话框显示正确。 也许您需要清除缓存或重新安装您的应用。
首先,如果您是欧盟公民,GDPR 确实适用于美国境外。所以 "spoofing like you are in UE" 不符合 GDPR 的任何规定(您也可以查看解释 here)。
其次 - 全部 in the docs, please read it:
GDPR Applies: If we detect that a user opened a given application for the first time in the European Economic Area, United Kingdom, or Switzerland, as determined by the user’s truncated IP address, MoPub will consider GDPR applying to that user for the lifetime of that application, meaning that MoPub requires the user’s consent before serving personalized ads. As of SDK 5.0, if the user opened the application for the first time in any region outside of the European Economic Area, United Kingdom, and Switzerland, we will always treat the user as having consent.