Trying to use the Remote View displays a system dialog on Android 10 devices.

MK
Markus K.
Mattersoft Oy

We have a few Android 10 devices (Motorola Moto G8 Power) and trying to use the Remote View resulted in the device displaying an "Exposing sensitive info during casting/recording... Cancel/Start now" confirmation dialog which is a new feature in Android 10 as discussed on Google support forum: https://support.google.com/android/thread/13791498?hl=en

We've found a workaround by applying an ADB command via USB debugging, found e.g. on Stackoverflow: https://stackoverflow.com/questions/63039084/android-stop-permission-promt-for-screen-recording

For MobiControl it's: adb shell appops set net.soti.mobicontrol.androidwork PROJECT_MEDIA allow

I'd be happy to hear about more elegant solutions than enabling Developer more and USB Debugging on each device and applying this manually device by device.

I haven't installed any device specific plug-ins. (As found at https://docs.soti.net/mobicontrolagentdownloads/) I see there's a "Lenovo ARM" one which probably would be the right one.

The devices are in Android Enterprise mode and will run a kiosk mode once delivered to end users.

4 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

If they are intended to be in Kiosk mode then I assume you are managing them under Android Enterprise Device Owner / Work Managed mode. If so, you can install the manufacturer specific plugin which should update the capability from Remote View to Remote Control where you can also remotely interact with the device. Once Remote Control is enabled you will not see these pop ups at the device level.

A
ANKMOD@SOTI
4 years ago (edited 4 years ago)

Hello Markus

Greetings

Thanks for your post to soti central!!

SOTI MobiControl plugins for Android Enterprise devices significantly increase management capabilities over devices that do not have the plugin installed. New features can include:

  • Remote control (Managed Devices only)
  • Additional Feature Control options
  • Script Commands
  • APN Support

so I will also suggest you first , if you try to install your manufacturer plugin and let us know if you are still having the same issue while remoting into device .

In case of any other query,please feel free to ask.

Regards!!

MK
Markus K.
4 years ago (edited 4 years ago)

Thanks to both.

Looks like I can't install the Lenovo ARM plugin. Maybe it's an incompatilibity issue.

I don't see any errors or warnings in any logs either in the SOTI web interface nor on the device in the MobiControl app. The profile (with the package) doesn't appear on the device side at all and in the SOTI web interface I ended up with a "No Devices Assigned" Execution Status although the profile is assigned to that device.

I could have a better look at this later via a support ticket. For now we at least have the workaround and this topic here on the forum for anyone else wondering about the same issue.