question

dsm-dev avatar image
dsm-dev asked

Unique Identifier for Kindle Fire/Fire OS

We are migrating our current app from the Google Play Store to the Amazon app store and have run into a snag. For android devices that have Google Play services available we are able to use the advertiser_id as a unique identifier for our own backend system. The problem that we have is that this is not available on Amazon devices and so we have no way to uniquely identify users that register through our app on Fire OS devices, which is not ideal for our situation. The question I have is: is there an Amazon equivalent to the advertiser_id that can be used? Using the Android device id is not a solution anymore as Google is making this obsolete and at some point in the future may be not only deprecated but removed entirely and we only want to maintain one code base for both Android and Amazon. We also don't want to force the user to authenticate through Amazon, as none of our other apps (iOS or Android) have this and we want to maintain the same experience across all platforms. All I am really looking for is a unique identifier that is available on Fire OS devices (besides the Android Device ID, IMEI, or MAC_ADDRESS) the same type that is available on both iOS and Android.
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi DSM_dev, You can not get users advertiser_id in Fire OS since Google Services are not present in the device. The only way you can identify the user uniquely by using Login with Amazon API. You do not need to force user to log in with Amazon credential to your app since they are already logged in Fire OS, only they need to give you permission (there will be an UI from LWA SDK to receive the permission) to access their user information like name, email or unique user id. Please refer : https://developer.amazon.com/public/apis/engage/login-with-amazon/content/android_docs
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dsm-dev avatar image
dsm-dev answered
Thank you for the quick response! I will dig into the documentation and see what needs to be done :)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.