How to Protect Floating Windows and Dynamic Content in Android Apps

Learn the 3 Easy Steps to Protect Floating Windows & Dynamic Content in Android. UEM/MDM Enterprise Mobility Made Easy. No Code, No SDK, Continuous Security.

Why Protect Floating Windows and Dynamically Generated Windows in Android apps?

Prevent App Screen Sharing is used to ensure sensitive data is not recorded from the app’s screen. Screenshots, mirroring, and sharing the app’s screen is prevented. The Appdome feature Prevent App Screen Sharing prevents the sharing of screens on both Android and iOS applications. For full and complete protection, Appdome Protect Dynamically Generated Windows secures those Android UI elements that do not expose a developer-facing API, such as Android floating windows.

This Knowledge Base article describes Appdome’s Protect Dynamically Generated Windows feature and explains how to add it to a mobile app without coding. So you can protect floating windows in a few clicks.

We hope you find it useful and enjoy using Appdome!

Prevent App Screen Sharing is part of the Mobile Privacy that is included under Appdome’s Security Suite and part of Mobile Permission Control that is included under Appdome’s Mobility Suite.

When a developer sets the FLAG_SECURE for chosen Android UI elements, the underlying infrastructure of Android treats the content of the window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays. However, due to a design flaw in the Android framework, there are several exceptions. When setting the flag on an Activity or Fragment, the secured protection isn’t inherited by all of its “children” (aka small UI elements), such as various dialogs, floating windows or menus, and popups.

Appdome Protect Dynamically Generated Windows prevents those UI elements’ visibility on screen grab applications ensuring that sensitive data is not recorded from the app’s screen.

Furthermore, on many UI elements, it is fairly difficult to set the FLAG_SECURED, due to lack of a developer-facing API (f.e. Spinner or Toast). On some 3rd party UI frameworks, such as React-Native, the FLAG_SECURED cannot be passed at all without modifying the React-Native framework. Protect Dynamically Generated Windows enables you to protect even those UI elements that do not expose a developer facing API, among many others:

3 Easy Steps to Protect Dynamically Generated Windows in Android apps

Follow these 3 easy steps to protect Floating Windows and step-by-step instructions to add Protect Dynamically Generated Windows in Android apps.

Please follow these steps to add a mobile app to your Appdome account.

Select the Build Tab. Beneath the Build Tab, you will find several service options. Select the Security category.

  1. Click  Mobile Privacy to expend the bundle., Click on the toggle to enable Prevent App Screen Sharing
  2. Click on the toggle to enable Dynamically Generated Windows Protection
  3. Click Build My App

 

Congratulations! You now have a mobile app fully integrated with Prevent App Screen Sharing and Protect Dynamically Generated Windows

How to Protect floating windows in Android

Appdome’s no-code mobile app security platform offers mobile developers, DevSec and security professionals a convenient and reliable way to protect Android and iOS apps. When an Appdome user clicks “Build My App,” Appdome leverages a microservice architecture filled with 1000s of security plugins, and an adaptive code generation engine that matches the correct required plugins to the development environment, frameworks, and methods in each app.

Prerequisites for Protecting Dynamic Windows

Here’s what you need to build secured apps with Protect Dynamic Windows 

No Coding Dependency

Using Appdome, there are no development or coding prerequisites to build secured apps with dynamic windows protection.  There is no SDK and no library to manually code or implement in the app. The Appdome technology adds the relevant standards, frameworks, and logic to the app automatically, with no manual development work at all.

How to Sign & Publish Secured Mobile Apps Built on Appdome  

After successfully securing your app using Appdome, there are several available options to complete your project, depending on your app lifecycle or workflow. These include 

Or, see this quick reference Releasing Secured Android & iOS Apps built on Appdome. 

 How to Learn More

Check out the full menu of features in the Appdome Mobile Security Suite

If you have any questions, please send them our way at support@appdome.com or via the chat window on the Appdome platform.

Or request a demo at any time.

Thank you!

Thanks for visiting Appdome! Our mission is to secure every app on the planet by making mobile app security easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.

 

Kai Kenan

Have a question?

Ask an expert

KarenMaking your security project a success!