after updating to android 10 the deviceid function of the phone manger extension no longer returns the id
You can thank Google for that. From their documentation:
Avoid using hardware identifiers. In most use cases, you can avoid using hardware identifiers, such as SSAID (Android ID), without limiting required functionality.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_STATEprivileged permission in order to access these identifiers.
I am new to application development. How do I release this functionality on appinventor? I need to read the serial number. thanks
it is unfortunately not possible anymore starting from Android 10
see here why https://developer.android.com/about/versions/10/privacy/changes
Restriction on non-resettable device identifiers
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.
Affected methods include the following:
If your app doesn’t have the permission and you try asking for information about non-resettable identifiers anyway, the platform’s response varies based on target SDK version:
Very useful info. Thank you for sharing!
Then how to get authenticity of the user, i mean whether the intended user is updating the data or some one else with his credentials.