question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS error: Sending `messaging_notification_received` with no listeners registered

See original GitHub issue

My application is receiving this warning “Sending messaging_notification_received with no listeners registered” and the callback is not calling. Android works fine.

  1. What version of RN and react-native-fcm are you running? 11.0.1
  2. What device are you using? (e.g iOS9 emulator, Android 6 device)? iOS 11
  3. Is your app running in foreground, background or not running? foreground

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:27 (12 by maintainers)

github_iconTop GitHub Comments

7reactions
evollucommented, Jan 11, 2018
notification: {
        body: req.body.message,
        title: req.body.title,
        sound: 'default',
        icon: 'new',
        
      },
content_available: true,
      data: req.body.data

then you should see this line triggered https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/ios/SimpleFcmClient/AppDelegate.m#L65 or this line triggered if you are in foreground https://github.com/evollu/react-native-fcm/blob/master/Examples/simple-fcm-client/ios/SimpleFcmClient/AppDelegate.m#L45

2reactions
evollucommented, Jan 9, 2018

issue sounds resolved

Read more comments on GitHub >

github_iconTop Results From Across the Web

can't receive notification in ios : sending FcmTokenRefreshed ...
i send notification with fire-base , in ios app i have this error : sending FcmTokenRefreshed with no listeners registered if app opened ......
Read more >
[Solved]-can't receive notification in ios - appsloveworld
Coding example for the question can't receive notification in ios : sending FcmTokenRefreshed with no listeners registered-React Native.
Read more >
Push notifications for Secure Mail - Citrix Product Documentation
To provide push notifications for iOS and Android, Citrix hosts a listener service on Amazon Web Services (AWS) to perform the following ...
Read more >
Receive messages in a Flutter app - Firebase - Google
Handle background messages by registering a onBackgroundMessage handler. When messages are received, an isolate is spawned (Android only, iOS/macOS does not ...
Read more >
Notifications Not Shown - Mobile Push
Devices must be online to receive push notifications. If your device is turned off, in airplane mode, has unstable or no internet connection,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found