此代碼讀取的Android device id
:Android:是否禁止訪問deviceId?
String androidId = Settings.Secure.getString(App.getAppContext().getContentResolver(), Settings.Secure.ANDROID_ID);
它是否禁止使用此代碼中的應用程序發佈到Play商店? 我聽說發佈商需要改用advertisingId
。
(在代碼中,我使用device id
作爲數學計算中的一個常數,沒有嘗試收集個人數據)。