Closed cswagner closed 3 years ago
Hi @cswagner ,
This is because of using DeviceInfoExtension. You can prevent SecurityException If you are not using this extension.
Also you have to enable "Classic display for mobile" setting in Admin Center. You can find this option in the "Organization" tab when you select a Technician Group in the left side panel.
Furthermore you have to select "Launch Display Viewing Session" during the session creation process in the Technician Console to get thorough to screen sharing.
In the camera share case it will works out of the box if you leave DeviceInfoExtension.
Please let me know if this solution works for you.
Hi @cswagner ,
We have just released a new version of the SDK (3.7.2). If you use the DeviceInfoExtension then the SDK ask the READ_PHONE_STATE permission from the user. If the user deny this permission then there is no SecurityException and the Technician Console does not get network type information from the phone.
Everything looks good on our end after updating to v3.7.2. Thanks!
I'm glad to hear that :) Thank you for bringing this issue to our attention.
Testing on a device running Android 11 with
compileSdkVersion
andtargetSdkVersion
set to30
, I'm getting a crash when starting either a camera or screen share session:The failing method requires the
READ_PHONE_STATE
permission which I don't want to request from the user. Could the case where this permission is denied be handled gracefully to prevent the crash?