Hi Everyone,
Currently I am working on mobile application and when the app goes to the background, the Recent Apps / App Switcher still shows the application content, which is a security concern.
Current Behavior:
Expected Behavior
To hide or blur sensitive content of your mobile application in the "Recent Apps" screen (also known as the "task switcher") on Android devices, you can use the "Privacy Screen Plugin" in your OutSystems app. This ensures that when the app is in the background, screenshots of the app (as shown in the task switcher) are not visible.
Here is what you need to do to implement this:
Install the Privacy Screen Plugin: Add the Privacy Screen Plugin to your mobile application. This plugin is available at PrivacyScreenPlugin GitHub page.
Add the Plugin to the "OnReady" Action: After adding the plugin to your application, you should call its functionality during the "OnReady" event of your App or Screen. You might use the plugin’s Activate action to enable the privacy screen.
Activate
Rebuild and Install the App: For the plugin to work, remember to regenerate the application build and install the updated version (APK for Android). This step is crucial for the plugin to function properly when run on a mobile device. This is a common mistake that many users encounter.
Check the Plugin’s Availability: In your logic, use the plugin’s IsAvailable output parameter to ensure it is supported on the device. If the parameter returns False, the plugin may not be functioning, or the device may not support this capability. You cannot force the plugin to work on unsupported devices.
IsAvailable
False
If you follow these steps and still face issues, please review how you integrated the plugin and ensure all dependencies are installed and correctly configured. For more detailed guidance, check out this forum topic: Mobile App Android Privacy Screen Plugin.
Hi,
I found this Forge component, I think it can provide the expected behavior you’re looking for.
Privacy Screen Plugin With Foreground
hi @Sherif El-Habibi ,
Is this one supporting for both android and ios?
Hello Shingo,
Based on its details, yes, it supports both Android and iOS.