getdeviceid()

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
emdisala
Posts: 26
Joined: March 16th, 2021, 12:30 pm

getdeviceid()

Post 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
justinlakier
Posts: 143
Joined: November 21st, 2022, 4:41 pm

Re: getdeviceid()

Post 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
Post Reply