react-native-fcm: Could not invoke RNFIRMessaging.SubscribeToTopic

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

About this issue

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

Most upvoted 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”