In which mobile platforms the “push token” is not permanent?

前端 未结 3 1632
挽巷
挽巷 2021-02-10 22:27

We all know that in order to use the push notifications functionality in any mobile platform we need a unique identifier called \"push token\".

The developer needs someh

3条回答
  •  走了就别回头了
    2021-02-10 23:00

    FOR IOS, as you can see here

    Does the APNS device token ever change, once created?

    and here

    Apple Documentation ApplePushService

    if the user restores backup data to a new device or reinstalls the operating system, the device token changes.

    Following the EasyAPNS instructions (www.easyapns.com), every time the app starts you can check if the token is registered or not, and eventually register the device.

提交回复
热议问题