Page 1 of 1

getdeviceid()

Posted: May 23rd, 2023, 7:22 am
by emdisala
Dear all,

I got the ANDROID_ID using getdeviceid() / CSpro in Tablet computer (Android version 10) and Generated the ANDROID_ID though an app using “Settings.Secure” class (Kotlin) in same Tablet computer as documented at

https://developer.android.com/reference ... ngs.Secure

Noticed, ID generated from CSpro app (CSEntry version is 7.7.3) is different form the ID which generated form the Kotlin app
(e3d876feef0fb1cd /98e8449cb1195032)

Please advice

Thank you

Disala

Re: getdeviceid()

Posted: May 23rd, 2023, 12:40 pm
by justinlakier
Hi Disala,

As mentioned in the documentation you linked, ANDROID_ID is unique to combination of app-signing key, user, and device. It is mentioned further under "Behavior Changes" in the documentation that ID is now scoped per app for privacy. This means that IDs are intentionally different depending on the app.

Hope that helps,
Justin La Kier