Unique Device ID - Preserved

Stable version 2.0.0 (Compatible with OutSystems 11)
Published on 26 Jan by 
5.0
 (6 ratings)

Unique Device ID - Preserved

Details
Get unique device id (UUID) plugin for Android, iOS. Remains the same after app uninstall or app-reinstalled on same device. Specially for iOS.
Read more

 Get the unique device id (UUID) plugin for Android, iOS.
Remains the same after app uninstalls/re-installed.

This forge component will help to reterive the same  UUID especially for iOS where UUIS gets changed after app unInstalled.

What’s new (2.0.0)

Android 10 (API level 29) adds restrictions for non-resettable identifiers, which include both IMEI and serial number. Your app must be a device or profile owner app, have special carrier permissions, or have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access these identifiers.

See: Android Best practices for unique identifiers.

For Android:

  • Removed REQUEST_READ_PHONE_STATE dependency.
  • GetUUID action will return an MD5 hashed string to preserve users privacy.
    • 3 Different UUID are generated based on some rules
      • For Android 10 (API level 29) or newer we use DrmID (for more details about DRM follow the link DRM_Android)
      • For Android versions older than Android 10 (API level 29) we use ANDROID_ID (for more details about ANDROID_ID follow the link ANDROID_ID)
      • There are situations where ANDROID_ID fails (read more here) we use java.util.UUID.randomUUID() and store it in Shared Preferences. If you need to preserve it consider using also the Android Backup Service by using the existing plugin allowBackup Android Plugin.


⚠️ Important Notice: Since Android UUIDs are now generated differently make sure to take that into consideration, because older UUIDs stored in database may become obsolete.

Reviews (0)