-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[android] Screen dims & locks while video is playing #744
Comments
There is a similiar issue here: #687 |
I have also encountered the same problem..Ios works correctly but android can't work... |
@tostrio Hi,I have just solved this problem,use 'react-native-keep-awake', I use it in componentWillMount(){ KeepAwake.activate(); } and componentWillUnmount(){ KeepAwake.deactivate(); }, |
@shooterRao Hi, thanks for the heads up! We have opted to use |
@tostrio yeah,I agree with you on this point,I also hope this bug can be solved. |
Fixed by #1117. Will be included in 3.2.0 |
Hi
On iOS this works correctly, but on android I get this behaviour. After the inactivity timeout the screen goes dim, then black (phone locks). I have found nothing in the docs about this, no settings or something. Is this a bug, or am I just missing something? I have tried it with:
and
Same behaviour in both cases.
Best,
tostrio
The text was updated successfully, but these errors were encountered: