evollu / evollu/react-native-fcm

IOS. Sending `messaging_notification_received` with no listeners registered

Open
#943 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

Before this when im using 6.2.3, it's working fine
I just upgrade react-native-fcm from version 6.2.3 to 15.0.2

POD:-
Firebase (4.13.0)
FirebaseMessaging (2.2.0)

Already try based on issue #707 but still not working.. try content_available but nothing yet.
only not working in ios.. android working fine

In my cases this is my code send from postman

`{ 'to' : '', 'content_available': true, 'notification': { 'body': 'title', 'title': 'body' }, 'data': { 'custom_notification': { 'title': 'title', 'body': 'body' } }, 'priority': 'high' }`

but I still get `'messaging_notification_received' with no listeners registered`

I put `NSLOG(@"test");` for both places, but there a no console with this line when I send a push message. any idea what's wrong ?

https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/ios/SimpleFcmClient/AppDelegate.m#L65
https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/ios/SimpleFcmClient/AppDelegate.m#L45

When openning an issue, please include following information for better support

RN: 0.51.0
react-native-fcm: 15.0.2

Simulator Iphone 6 (11.2)

App running foreground

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.