react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

onNotification is not triggered when app is in killed state in android.

Open Ambreen-Kanwal20 opened this issue 2 years ago • 2 comments

I am able to receive the locally scheduled notifications for both Android and IOS and I am trying to navigate the user to screens according to the type of notification when the user taps on the notification. IOS works fine but on Android when I receive the notification in killed state, then onNotification is not working in some android phones. It works fine in realme with OS version 13 but not in xiaomi with OS version 13 and vivo with OS version 12. Kindly help me to fix this issue.

Ambreen-Kanwal20 avatar May 16 '23 08:05 Ambreen-Kanwal20

We're also facing the same issue, Is there is any solution to resolve it?

mavudai-tonik avatar Jul 19 '23 05:07 mavudai-tonik

We're also facing the same issue, Is there is any solution to resolve it?

I've spent hours trying to figure out the problem. But it turned out to be simple but not at all obvious. Here's the solution that worked for me

ksetrin avatar Jul 03 '24 12:07 ksetrin