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.

Could not invoke RNFIRMessaging.SubscribeToTopic

See original GitHub issue

App.js

import FCM from 'react-native-fcm'

componentDidMount() {
...
FCM.subscribeToTopic('/topics/feeds');
}

screenshot 318

“react-native”: “^0.55.4”, “react-native-fcm”: “^10.0.3”, Android Emulator 6 running in foreground

thanks in advance

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
KennethLoOctopusposcommented, Aug 7, 2018

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”

0reactions
dhcmegacommented, Dec 12, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

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