Please provide the following:
- SDK Version: 35
- Platforms(Android/iOS/web/all): Android
Is there a way to get the device id? This is required so that we can conform to GDPR law and delete a user’s data. To do so, we need the device id.
The way you would call it in the Amplitude JS sdk is Amplitude.getInstance().options.deviceId
Same for userId: The way you would call it in the Amplitude JS sdk is Amplitude.getInstance().options.userId
.
See https://help.amplitude.com/hc/en-us/articles/115001361248#getting-the-device-id