Closed wood1986 closed 1 year ago
Hey @marcshilling, I hope you can take my change and maintain on your side. Please.
Just ping again @marcshilling
Hey @wood1986...this looks good. Will try to make some time to merge and publish a new version this week, thanks!
Also, updating the README to describe this new functionality would be helpful!
I have updated the README.md. Please review. Thanks
@wood1986 merged and published as v2.2.0. Thanks!
expo-keep-awake can tag every call to keep the screen awake and this library does not have capability. Meanwhile, I also expose a static method for non react native code to keep the screen awake in a centralized place
Android implementation from expo https://github.com/expo/expo/blob/main/packages/expo-keep-awake/android/src/main/java/expo/modules/keepawake/ExpoKeepAwakeManager.kt
iOS implementation from expo https://github.com/expo/expo/blob/main/packages/expo-keep-awake/ios/KeepAwakeModule.swift