45
Views
1
Comments
How to add new configuration to AndroidManifest.xml files

Hello Guys


I try to fix  static security scan issues, The configuration of AndroidManifest.xml files needs to be modified based on the suggestions provided by the security scan tool: 

Ensure that the application sets the Manifest.permission.HIDE_OVERLAY_WINDOWS permission in AndroidManifest.xml as well as invokes Window#setHideOverlayWindows(true) early during initialization. This will protect end-user from malicious applications that may be attempting to deceive the end-user.


If they do not need to be shared by other applications, explicitly mark components with android:exported="false" in the application manifest. 

 

How can i add "HIDE_OVERLAY_WINDOWS permission, invokes Window#setHideOverlayWindows(true) " and "android:exported="false" " to AndroidManifest.xml files.

I don't know add what format config in Extensibility Configurations do that. Would you help me write it in the correct format?

 

Thank you

2024-03-14 12-00-57
Carlos Costa
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.