此代码读取的Android device id
:Android:是否禁止访问deviceId?
String androidId = Settings.Secure.getString(App.getAppContext().getContentResolver(), Settings.Secure.ANDROID_ID);
它是否禁止使用此代码中的应用程序发布到Play商店? 我听说发布商需要改用advertisingId
。
(在代码中,我使用device id
作为数学计算中的一个常数,没有尝试收集个人数据)。