Skip to main content

stable_device_id 0.2.0 copy "stable_device_id: ^0.2.0" to clipboard
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, getId throws WIDEVINE_UNAVAILABLE.
  • Unknown Android sources throw INVALID_ARGUMENT.
  • Widevine is read off the main thread.

0.1.0 #

  • Initial release.
  • StableDeviceId.getId() returns ANDROID_ID on Android and a Keychain-backed UUID on iOS.
  • initialValue lets iOS apps keep an identifier they already use when migrating.
0
likes
160
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A device identifier that survives app updates and reinstalls: ANDROID_ID or Widevine on Android and a Keychain-backed UUID on iOS.

Repository (GitHub)
View/report issues

Topics

#device-id #device-identifier #keychain #android-id

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on stable_device_id

Packages that implement stable_device_id