Guest

Preview Tool

Cisco Bug: CSCvs72992 - Android SDK using Android 10 targetSDK=29 will cause crash

Last Modified

Jan 20, 2020

Products (1)

  • Cisco Jabber Guest

Known Affected Releases

11.2

Description (partial)

Symptom:
The official Android documentation "Privacy changes in Android 10" states that if your app targets Android 10 or higher, a SecurityException occurs if you try to get non-resettable device identifiers which include IMEI. This is why JabberGuest SDK throws a security exception, it tries to get IMEI.

There is not any problem with the devices with Android 9 and below since we have the READ_PHONE_STATE permission. However, starting from Android 10, IMEI is only accessible to apps only with the READ_PRIVILEGED_PHONE_STATE permission, which is impossible for 3rd party apps to get, it is only available for system apps.

The solution to this problem is to use a proposed unique identifier:
https://developer.android.com/training/articles/user-data-ids

Here is the exception detail;
Unable to start activity ComponentInfo{******}: java.lang.SecurityException: getDeviceId: The user 10227 does not meet the requirements to access device identifiers.

Example phones with the issue: SM-G970F, SM-G973F, LYA-L29,...

Conditions:
sdkVerion=29 for Android
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.