Could not invoke RNFIRMessaging.SubscribeToTopic
See original GitHub issueApp.js
import FCM from 'react-native-fcm'
componentDidMount() {
...
FCM.subscribeToTopic('/topics/feeds');
}
“react-native”: “^0.55.4”, “react-native-fcm”: “^10.0.3”, Android Emulator 6 running in foreground
thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:15 (4 by maintainers)
Top Results From Across the Web
How can I resolve the NoSuchMethodError caused by firebase ...
RuntimeException : Could not invoke RNFIRMessaging.subscribeToTopic. That is coming out of the react-native framework. The try-catch in the ...
Read more >Topic messaging on Flutter | Firebase Cloud ... - Google
When a client app subscribes to a new topic name (one that does not already exist ... To subscribe to a topic, call...
Read more >react-native-fcm - Bountysource
I don't want to go on with FCM.setBadgeNumber(), because if I call it in javascript code, it will not fired when app is...
Read more >react-native-fcm-fix - npm
+ [RNFIRMessaging willPresentNotification:notification ... If you do not call it your background remote notifications could be throttled, ...
Read more >Topic Push Notification || Subscribe & Unsubscribe ... - YouTube
In this video we are going to learn how to subscribe to Topic Push Notification in React Native. We are going to implement ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @ZahiC I’m using react-native-fcm 16.0.0 with these dependency settings:
compile “com.google.firebase:firebase-messaging:15.0.2” compile “com.google.firebase:firebase-core:15.0.2” compile “com.google.android.gms:play-services-gcm:15.0.1”
It seems that I’m having a version conflict. I have solved it by modifying the package, not the best solution but at least I can publish the app:
https://stackoverflow.com/questions/50592049/how-can-i-resolve-the-nosuchmethoderror-caused-by-firebase-subscribetotopic