react-native-fast-image icon indicating copy to clipboard operation
react-native-fast-image copied to clipboard

Android screen falls asleep while displaying gif images

Open solomonik07 opened this issue 2 years ago • 1 comments

I have some sequentially played gifs (kind of tutorial) in my RN app. But they last too long and the phone screen starts dimming and falls asleep. How can I prevent such behaviour? I need the screen to stay awake

solomonik07 avatar Nov 26 '21 07:11 solomonik07

That's not a bug of this library and neither should it be doing what you propose. You can use https://www.npmjs.com/package/react-native-keep-awake

CptFabulouso avatar May 26 '22 13:05 CptFabulouso