Token Based Push Notification

Hello all,

How do I integrate token based push notification in app.

Is thare any documentation for that?

Thanks

Hi @Pawan_Ramteke!

I believe you are looking for token-based implementation for iOS.
You can start by referring to our documentation here.
Also, you can go through our sample apps here.

Hope this helps.

Regards.

@nishant.tiwari Do we have to unsubscribe to the previous notification topics if we are going to implement the token based notifications?

Hi @jeraldo,

An older version of your app may have topic-based push notifications. But if you are planning on releasing a newer version of your app with token-based push notifications, you have to completely get rid of the topic-based implementation in your app.

Having said that, in the Push Notifications extension settings in the CometChat Dashboard, you have to select V1 & V2. This will ensure that the users of the older version of your app still receive push notifications.

Once you are confident that the users have all migrated to the latest version of your app, you can safely set the extension version to V2 only from the dashboard.

I hope that helps.