You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// These flags ensure that the activity can be launched when the screen is locked.Windowwindow = context.getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
| WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
| WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
It is kind of annoying because screen can have sensitive data to make it easily accessible can be problem.
Is this intentional behaviour or question is if i can prevent this problem?
The text was updated successfully, but these errors were encountered:
ilkinabdullayev
changed the title
App screens are always visible no matter of screen is locked or unlocked
Android - App screens are always visible no matter of screen is locked or unlocked
Sep 4, 2024
I am having the same issue. You have to close the app then lock the phone for it to hide, otherwise its always visible when phone is locked. Has anyone figured out a work around?
Issue
Hello,
This screenshots are from twilio reference app. So basically what annoys me screen is visible even if app is locked. I understand why it happens.
https://github.com/twilio/twilio-voice-react-native/blob/main/android/src/main/java/com/twiliovoicereactnative/VoiceActivityProxy.java
It is kind of annoying because screen can have sensitive data to make it easily accessible can be problem.
Is this intentional behaviour or question is if i can prevent this problem?
The text was updated successfully, but these errors were encountered: