stable_device_id 0.2.0
stable_device_id: ^0.2.0 copied to clipboard
A device identifier that survives app updates and reinstalls: ANDROID_ID or Widevine on Android and a Keychain-backed UUID on iOS.
0.2.0 #
- Add
AndroidIdSource.widevine: the Widevine DRM device ID, hashed with the package name. On most physical devices it also survives a factory reset. - The Android source is never switched silently: if Widevine is not available,
getIdthrowsWIDEVINE_UNAVAILABLE. - Unknown Android sources throw
INVALID_ARGUMENT. - Widevine is read off the main thread.
0.1.0 #
- Initial release.
StableDeviceId.getId()returnsANDROID_IDon Android and a Keychain-backed UUID on iOS.initialValuelets iOS apps keep an identifier they already use when migrating.