Device identifiers are generated by the Bugfender SDK during the first run of the application. You can get this identifier with the getDeviceIdentifier method.
Does the device identifier change over time?
Identifiers are generated during the first run of your application and stored in the internal memory of the device.
There is a slight difference in the persistence of this identifier depending on the operating system:
- In iOS: it is stored in the Keychain, thus it does not change if the application is deleted and reinstalled.
- In Android: it is stored in the private storage of the application, thus it does change if the application is deleted and reinstalled. It does not change when the application is updated.
In all cases, the device identifier changes if the mobile device is wiped and formatted.
Can I set my own identifier?
Yes, you can add your own attributes to a device.