-
-
Notifications
You must be signed in to change notification settings - Fork 2k
onNotification Not working when app is killed at foreground #1795
Comments
Hi @selvaTecky, Since this library is not responsible of the Firebase protocol, you can refer to this documentation: https://firebase.google.com/docs/cloud-messaging/concept-options Basically: Regards, |
Hi @Dallas62 , I am sending payload without data only. But while clicking on notifications, onNotification is not getting executed. I have debugged, onRegister only getting executed there I won't get notification payload. Can you give some idea on this? ReactNative: 59.8 |
Hi, Your library is too old, but take a look in issues for:
Or move Regards, |
Hi @Dallas62 , As per your advice I have updated the package. Currently I am using react-native-push-notification: ^3.3.0. Now onNotification is getting executed but the push notification is not popping up in notification trey. do you have any idea? { |
Hi @selvaTecky As mentioned before, please refer to: Regards, |
Hi @Dallas62 , I am totally confused thats why I am asking your support on this. I am using third party cloud messaging. from that I will get payload list that only I can't able to change that payload format. Earlier in 3.0.1 I am getting notification popup but now the notification pop up is not coming. I have shared my Push notification configuration in manifest file. Am I missed anything. RN Version: 59.9
|
You can take a look to this issue: #1452 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
any Solution? Please share |
Hi,
The package is really useful for creating push notifications. I have few doubts and questions hope you'll help me on this.
onNotifications are executing in foreground without an issue but, if I send push notifications when the app is in killed state that time it is not even executing but onRegister executing without fail. May I know why its functioning like this?
Is it required to pass "data" object in remote push notification? if I don't have any options to pass data what will happen?
The text was updated successfully, but these errors were encountered: