All Collections
Advanced usage
How is the Bugfender device identifier generated?
How is the Bugfender device identifier generated?
Jordi Giménez avatar
Written by Jordi Giménez
Updated over a week ago

Device identifiers are generated by the Bugfender SDK during the first run of the application. You can get this identifier with the getDeviceUrl 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 web: it is stored in local storage, so it can change if the local storage is deleted.

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.

Can Bugfender generate a permanent identifier for a user or a device?

No. Bugfender identifiers do not extract or derive any permanent information from the device. This is in compliance with Apple's Developer Agreement, section Data and Privacy > Collection and Use of Data (3.3.3(B) at the time of writing) and as not to constitute Tracking by Apple's definition.

Did this answer your question?