0

Is a new Registration Token needed for every platform of an app that a user uses?

For example, I login to Facebook from my phone's app and I also access it from the web. Would this require a single Registration token, shared by the different platforms, or would every platform still require its individual Registration token for a given user. Hence, a user may have multiple Registration tokens being used at the same time if they access the app from several different platforms?

P.S. I am specifically asking the question in reference to cloud messaging where a notification is generated and I want to notify the user on all platforms they are on.

AndFantasy
  • 73
  • 1
  • 10

1 Answers1

0

If you have both a web app and a native app for a platform, and a user uses both from a single device, those two apps will have different registration tokens. The registration token is for the application instance, and each app (web/native) is a separate application instance.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807