jb9229
1
Hello(i am first question~)
I want to know how to get the event of screen-off for lock screen publishing.
‘https://github.com/AudyOdi/react-native-android-pattern-lock-screen’
The project just make pattern lock screen, i want to publish real lock screen.
how can i add screen off event listener?
please help~~
※ i don’t want to expo detach for the native android studio project
1 Like
bacon
2
jb9229
3
Thx for reply
I thought AppState is just check the react-native application status.
I thought Screen-off is not appstate~
Yeah i will check more PhoneState(screen off) through AppState API~
jb9229
4
Hello
I checked AppStat, but it didn’t work.
i think AppState is not only screen-off event.
(in home screen, in another app, etc…)
i dont want these results.
system
Closed
5
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.