capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
238 stars 83 forks source link

Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token. #1

Closed oliverandersencox closed 5 years ago

oliverandersencox commented 5 years ago

I tried this to solve the FCM Capacitor current bug, but the error remains the same...

5.20.0 - [Firebase/Messaging][I-FCM002023] The object <FCM: 0x280e84f80> does not respond to -messaging:didReceiveRegistrationToken:. Please implement -messaging:didReceiveRegistrationToken: to be provided with an FCM token.

stewones commented 5 years ago

did you try capacitor's PushNotifications.addListener( 'registration') ?

if you combine it with this plugin you should be set to go.

stewones commented 5 years ago

closing due to inactivity see #4 for reference