Unique Device ID - Preserved

Stable Version 2.0.0 (OutSystems 11)
Published on 26 Jan by 
Stable Version 2.0.0 (OutSystems 11)
Published on 26 Jan by 
Created on 23 September 2020

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)
Category
Device capabilities, Other device capabilities
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from assif_tiger who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
No consumers yet.
Weekly Downloads