1

I have thousands of users on Parse, and we are sending push notifications to them using parse. Now we are migrating to firebase and can't guarantee that all users will open the app so FCM gets the new FCM registration token. The question is can I send to old Parse users given I have their Parse device token (from installation table)?

AL.
  • 36,815
  • 10
  • 142
  • 281
Muhammad Hassan Nasr
  • 2,718
  • 3
  • 18
  • 20

1 Answers1

0

I'm pretty sure you can't just import the tokens used by parse.com to Firebase Cloud Messaging for use. What should be done is to register your client app users to FCM by adding it to your app.

More details can be found in the Migrate your Parse Android App to Firebase (or if you're using iOS) docs:

Suggested Migration Strategy: Migrating Device Tokens

At the time of writing, the Parse Android SDK uses an older version of the FCM registration tokens, not compatible with the features offered by Firebase Notifications.

You can get a new token by adding the FCM SDK to your app; however, this might invalidate the token used by the Parse SDK to receive notifications. If you want to avoid that, you can set up the Parse SDK to use both Parse's sender ID and your sender ID. In this way you don't invalidate the token used by the Parse SDK, but be aware that this workaround will stop working when Parse shuts down its project.

From my answer here.

Community
  • 1
  • 1
AL.
  • 36,815
  • 10
  • 142
  • 281