Closed RajendraHp closed 6 years ago
"Sending 'FCMTokenRefreshed' with no listeners registered". could happen if the event triggers before JS is bootstrapped, do you call "getFCMToken" when app starts and sync it to server?
Any update on this?? Yes @evollu componentDidMount I call 'getFCMToken' to sync with my server this have any relation with the warning?? Please any help
@yusmarcastro if you are calling getFCMToken, you can ignore the warning
Add function to listen FCMTokenRefreshed event
FCM.on("FCMTokenRefreshed", token => {
//update token to server
})
On the launch of the iOS app in debug mode, the below warning message appears: "Sending 'FCMTokenRefreshed' with no listeners registered". I am receiving push notificaitons with out any issue.