The BlueFletch Device Id is designed to provide a common Device ID for all EMS Applications. This application should be the first application installed and started on newly provisioned device.
This application is designed for devices running Android 10 and above.
During initial execution of the application, it will attempt to retrieve the device id from the device. If it can not retrieve the Id, it will generate an Unique Id.
Simple installation and launching of the application will determine and set the id for the EMS Applications to retrieve.
Intial Device Setup
The initial action 'android.intent.action.MAIN' will cause the device id to be retrieved and properly stored for EMS to utilize.
adb shell am start -a android.intent.action.MAIN -n com.bluefletch.ems.deviceid/com.bluefletch.ems.deviceid.MainActivity
Reset the Id
The Action 'com.bluefletch.ems.deviceid.ACTION_SET' cause the device id to be reset. The UI will not be displayed.
adb shell am start -a com.bluefletch.ems.deviceid.ACTION_SET -n com.bluefletch.ems.deviceid/com.bluefletch.ems.deviceid.MainActivity