How do you test the Push Notification feedback service?

前端 未结 3 421
长发绾君心
长发绾君心 2021-02-04 09:56

How would you test the APNS feedback service in the sandbox? Or in other words, how do you force a device to be in the feedback?

3条回答
  •  鱼传尺愫
    2021-02-04 10:51

    If you delete your app from a device, all you have to do is attempt send a single notification to that device and the next time you connect to the feedback server it will return that device. It will then not return the device again until you try to send another notification to that device.

    Also, if you send multiple notifications to a device between connections to the feedback server, the device will be returned for every notification that was dennied.

提交回复
热议问题