IPhone Wallet Does Not Return Device ID and Push Token

I’m having a problem integrating the “Register device to receive push notifications for passage” web service on my server for Apple Passes. Link below: https://developer.apple.com/library/content/documentation/PassKit/Reference/PassKit_WebService/WebService.html .

I have completed the following steps:

  • The ability to successfully generate and distribute Apple Pass on iPhone via a downloadable link.

  • Once the pass is uploaded, I add this pass to the Apple Wallet. When I add, the registration web service is called, which should send my server Device ID and Push Token, but I get these two parameters as nil.

  • However, when I click the same URL on the AdvanceRestClient (with a dummy device id and token), I get a callback.

I wanted to know why I do not get the device identifier and Push token from iPhone ??

+5
source share

Source: https://habr.com/ru/post/1271491/


All Articles