ios - Push Notification for a pass added to the default Wallet Application -
this question has answer here:
- how make push notification pass 1 answer
i've built ruby on rails application create passes , interact apple manage pass registration , updates. part, followed tutorial: https://www.sitepoint.com/whats-in-your-wallet-handling-ios-passbook-with-ruby/
i've watched these apple videos apple passbook (https://developer.apple.com/videos/play/wwdc2012/301/) , have setup app's api according passkit documentation (https://developer.apple.com/library/ios/documentation/passkit/reference/passkit_webservice/webservice.html).
right now, i'm able create passes in ror application , add them iphone (either via email or download link). however, after updating pass , triggering push notification apns don't push notification in device. device correctly registered application when add first time. , pass gets updated expected if go of pass , refresh it.
the problem i'm having delivering push notifications apple wallet app. don't know if i'm missing anything, i've read lots of posts mention enabling push notifications own ios app don't need ios app; if passes added apple's default wallet app want push notifications it.
my device's push token generated correctly, i've tried both production , sandbox apns endpoints , certificates using grocer gem , i've tried server reference comes apple videos, don't errors don't notifications either. i've confirmed iphone has notifications enabled wallet app.
i'd appreciate if can lead me right track solve this.
i've tried both production , sandbox apns endpoints , certificates using grocer gem
your issue using wrong certificate.
use passtypeid certificate connect apns production endpoint.
see how make push notification pass more details.