react-native-notifications
react-native-notifications copied to clipboard
Does FCM work with this package in iOS?
Does FCM work with this package in iOS?
I'm using Firebase Web SDK with react native. FCM notifications is working fine on android. But on iOS I'm not receiving any events.
Short answer is not. Since the token that you get from notifications are APN and you need the FCM tokens.
After a checking a few libraries. What you need is install react-native-firebase/messaging and use the method getToken instead of the react-native-notifications method.
Just install the library and follow the steps.
I have successfully integrated the iOS version with https://github.com/react-native-push-notification/ios & firebase messaging. The pull request is coming soon.
@AugustoAleGon Use getToken for android as well? Should I not use the registerRemoteNotificationsRegistered function from react-native-notifications?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.