Getting new FCM Token on every new app launch ( iOS - After SWIPE AWAY the app) #4441
-
Hello all, Understand that, by default there's a auto registration for iOS for remote message. Hence, for us to get the FCM token and pass back to our backend server, we'll just call If that's how it work, im guess im doing right so far. But I'm getting a new FCM Token on every app launch which is kinda weird right? Suppose I'm expecting a FCM token should only get renew after deleting and reinstalling the app. Please help to correct me if I'm wrong. 🙏 Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Then I realize the method didReceiveRegistrationToken was called on app launch. I put a breakpoint here to debug.. So the method was entered twice.
😞 |
Beta Was this translation helpful? Give feedback.
-
Solved. Earlier, the issue for this "new FCM Token" on every app launch (after SWIPE AWAY the app). It seems to be a conflict between RNFirebase SDK with another 3rd party SDK of mine in project. The 3rd party SDK did certain action on
They then removed the "Firebase part" within their SDK, turns out.. the FCM token behave as it is. No longer changing on every app launch. Thanks Mike for joining the discussion! Appreciate 👍 |
Beta Was this translation helpful? Give feedback.
Solved.
To wrap up this issue...
Earlier, the issue for this "new FCM Token" on every app launch (after SWIPE AWAY the app). It seems to be a conflict between RNFirebase SDK with another 3rd party SDK of mine in project.
The 3rd party SDK did certain action on
They then removed the "Firebase part" within their SDK, turns out.. the FCM token behave as it is. No longer changing on every app launch.
Thanks Mike for joining the discussion! Appreciate 👍