I'm making an application, Let's see what i want to do actually. I executed my code using react-native run-android and my home screen is active now. Then i went to the background and locked my phone using lock key of the mobile phone. then i'm sending notification to the app, the notification is being showing in the phone but the screen is still locked, home screen is still inactive. I want to awake my phone on receiving notification and i have used react-native-firebase for push notification.
Thank You.
I had tried to make it using react-native-keep-awake.
On receiving the notification, My code is KeepAwake.activate()
but its not awaking my screen.