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

Version 2.0.0

Stable
Current
Application Package
Published on 26 Jan by Miguel 'Kelter' Antunes
Compatible with:
Version 11
What's new

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.

Version 1.0.0

Under Development
Application Package
Published on 23 September 2020 by assif_tiger
Compatible with:
Version 11
11.10.0 or higher
11.8.0 to 11.8.2
11.0.606 to 11.0.615