alexa-samples / skill-sample-node-device-address-api

This is a sample skill written in JavaScript that demonstrates how to use device ID and the API endpoint values to make a request to the Alexa Device Address API.
Other
65 stars 54 forks source link

deviceId #16

Open MaYinjian opened 6 years ago

MaYinjian commented 6 years ago

how to generate a unique deviceId? We used UUID to find that it was repeated in android

franklin-lobb commented 6 years ago

The deviceId is provided as part of the payload sent to your skill, so you do not need to generate it.

MaYinjian commented 6 years ago

Yes, I do not need to generate it,but what i care is where the deviceId saved, is it save in file systems? external storage or internal storage like data/data ? We are concerned that the user will be cleared when they restore the factory Settings.Once deviceID is refreshed, it's considered a new device.