Hello,
i’m develop an app Ionic 5 with Capacitor.
My app needs to identify the devices by users, and for that, i use the Device API to get uuid :
import { Plugins } from '@capacitor/core';
const { Device } = Plugins;
const info = await Device.getInfo();
this.deviceId = info.uuid;
With Android 10 we know that our apps can’t access IMEI numbers of devices running Android 10 :
Starting in Android 10, apps must have the READ_PRIVILEGED_PHONE_STATE privileged permission in order to access the device's non-resettable identifiers, which include both IMEI and serial number.
Caution: Third-party apps installed from the Google Play Store cannot declare privileged permissions.
My app is a third-party app, so what is the impact of usage of the uuid number used in my application?
Will the above code still work on android 10?
Thank you in advance for your assistance.
1 post - 1 participant