react-native-fast-image
react-native-fast-image copied to clipboard
Android screen falls asleep while displaying gif images
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
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