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.

[Android] FIRMessaging is not available

See original GitHub issue

Getting the error - undefined is not an object (evaluating FIRMessaging.initialData)

Any cues on getting this going?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
antoinerousseaucommented, Jul 16, 2016

OK got it working, had to manually add new FIRMessagingPackage(), to my MainApplication.java (with import com.evollu.react.fcm.FIRMessagingPackage;)

Don’t know why rnpm link didn’t add this one…

0reactions
PoojaVMcommented, Apr 1, 2018

@antoinerousseau , I have followed all the steps from README and have made sure to try every solution provided for this particular issue. Still I get the same issue of FIRMessaging being undefined. Anyway, thanks for letting me know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[firebase_in_app_messaging] Can't build for iOS after adding ...
Describe the bug The XCode build fails when it's processing the Firebase In-App messaging native code.
Read more >
FirebaseMessaging Framework Reference - Google
This registration token is not cached by FIRMessaging. ... FCM token is automatically associated with the APNs token, if the APNs token data...
Read more >
Flutter application can't running after add firebase_messaging ...
Some problem come from Firebase initialization on Activity and Application. This is my solved setup on Android. Hope you all guys solve your ......
Read more >
evollu/react-native-fcm - Gitter
hi @evollu , I implemented the fcm successfully on android and ios ... and I changed to FIRMessaging.h because the former is not...
Read more >
Unity Cloud Messaging "notification_open" not being triggered
I've integrated push notifications via Cloud Messaging in our game, iOS and Android. I can send a notification from the Firebase console, and...
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