10
Native Android APK screenshot ability disabled in new runtime
V
VRPT Developer
For some reason taking screenshots inside the Android APK is disabled by the app. This is not something you can set in the permissions when exporting the APK, so how do we enable the ability tot ake screenshots again? This should not be the default setting. Please fix it!
Log In
R
Ramiro Gonzalez
Upon further investigation, the problem is only in Android and has to do with a parameter of the window when it is created.
getWindow().setFlags(
WindowManager.LayoutParams.FLAG_SECURE,
WindowManager.LayoutParams.FLAG_SECURE
);
Android developer resource:
and here the discuss on React:
R
Ramiro Gonzalez
Please. Facing the same problem !!!
G
Gabriel Terto
I have the same problem!