react-native-fcm: [Android] FIRMessaging is not available
Getting the error - undefined is not an object (evaluating FIRMessaging.initialData)
Any cues on getting this going?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (4 by maintainers)
OK got it working, had to manually add
new FIRMessagingPackage(),to myMainApplication.java(withimport com.evollu.react.fcm.FIRMessagingPackage;)Don’t know why
rnpm linkdidn’t add this one…