Skip to content

Android Screen Sharing

Allowing Android app users to take screenshots of your app is a security risk, because a screenshot could include sensitive corporate or personal information. Screenshots are stored on the device unencrypted and could therefore be recovered by a malicious application or an unauthorized user. The EnableScreenSharing property in BrandedSettings.json controls whether screen sharing and screenshot taking is allowed in the Mobile Development Kit Android client.

  • When EnableScreenSharing is set to false, Mobile Development Kit doesn't allow users to share screens, take screenshots or system screenshots (screenshot of recent apps list) in all versions of Android.
  • When EnableScreenSharing is set to true, Mobile Development Kit allows users to share screens, take screenshots, and take system screenshots in all versions of Android.
  • When EnableScreenSharing is not set/undefined in:
    • Android 8.x or higher (API >= 26), Mobile Development Kit will not allow the users to take system screenshots but will allow screen sharing and screenshots.
    • Android 7.x or lower (API <=25), Mobile Development Kit will not allow users to share screens, take screenshots, or take system screenshots.
    • In Android 7 or older, screen sharing cannot be enabled without disabling the Android security feature. Therefore, screen sharing is disabled by default. It is advisable that EnableScreenSharing is set to true only in development or demo environments and set to false in production environments.

Last update: April 6, 2023