Using new http/2 apple push notification service with ruby and wallet passes?

I have a Rails application that has been successfully creating and updating apple wallet passes using the old apple push notification service with the grocer gem. The old apple push service is going away in a couple of weeks and I'm having trouble getting the new http/2 service to work.

I have created a new key to use and everything seems to work - but I'm not getting update requests on the server. The code is like this:

connection = Apnotic::Connection.new(
  auth_method: :token,
  cert_path: 'apple_key.p8',
  key_id: apple_key_id,
  team_id: apple_team_id
)

token = device_push_token
notification = Apnotic::Notification.new(token)
notification.topic = 'com.mccc.buspass'
notification.content_available = true
response = connection.push(notification)

This actually gets a 200 response from Apple, so it looks like everything is working. But my phone doesn't try to do the update.

Does anybody have any experience? The Apple documentation is really lacking. Thanks!

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/mdchaney
πŸ“…︎ Mar 16 2021
🚨︎ report
Apple push notifications dropped - Discord Service Interruption - 29 Mar 2021 10:34 UTC-0700

Apple push notifications dropped - Discord Service Interruption - 29 Mar 2021 10:34 UTC-0700

On 29 Mar 2021 10:34 UTC-0700 a new incident, "Apple push notifications dropped", was posted to the Discord status page.

The incident can be seen in full at https://discordstatus.com/incidents/2bgqhrd1bzfp

> Investigating: > > Some pushes to apple devices are getting dropped. > We are currently investigating the issue.

This reddit post will be updated with more information as further updates regarding this incident are posted to the status site or sent in by moderators. Thank you so much for your continued patience whilst Discord deal with this issue!

^(This post was made by a bot, you can find the source code at https://github.com/MattIPv4/Discord-Status)
^(Moderators: You can post an update to this thread by replying with '?update <message>')


EDIT: A further update has been posted to this incident at 29 Mar 2021 10:38 UTC-0700

> Resolved: > > This incident has been resolved.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/DiscordStatus
πŸ“…︎ Mar 29 2021
🚨︎ report
Update to HTTP/2-based Apple Push Notification Service API before November 2020 developer.apple.com/news/…
πŸ‘︎ 25
πŸ’¬︎
πŸ‘€︎ u/iamsebj
πŸ“…︎ Nov 04 2019
🚨︎ report
Swift Server Working Group - Apple Push Notification Service Pitch. forums.swift.org/t/apple-…
πŸ‘︎ 59
πŸ’¬︎
πŸ‘€︎ u/unpluggedcord
πŸ“…︎ Mar 20 2019
🚨︎ report
Apple Push Notification Service Update developer.apple.com/news/…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/QuickBlox
πŸ“…︎ Dec 11 2019
🚨︎ report
Ethereum Push Notification Service (EPNS) Goes Live Bridging Knowledge Gap thenewscrypto.com/ethereu…
πŸ‘︎ 31
πŸ’¬︎
πŸ‘€︎ u/Glass_Pace_2200
πŸ“…︎ Jan 12 2022
🚨︎ report
Apple Push Notification Service Update - News developer.apple.com/news/…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/QuickBlox
πŸ“…︎ Dec 11 2019
🚨︎ report
Will GrapheneOS Receive Push Text Notifications from an Apple Messaging App Text While the GrapheneOS Phone's messaging app. is closed?

MB says no, but GrapheneOS chat room says yes. Who's right, or are there conditions under which both are right?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/leslielitz
πŸ“…︎ Dec 22 2021
🚨︎ report
Swift Server Working Group - Apple Push Notification Service Pitch. forums.swift.org/t/apple-…
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/unpluggedcord
πŸ“…︎ Mar 20 2019
🚨︎ report
Apple push notif service server certificate update?

So I just got this email from Apple.

On March 29, 2021, token and certificate-based HTTP/2 connections to the Apple Push Notification service must incorporate the new root certificate (AAACertificateServices 5/12/2020) which replaces the old GeoTrust Global CA root certificate. To ensure a seamless transition and to avoid push notification delivery failures, verify that both the old and new root certificates for the HTTP/2 interface are included in the Trust Store of each of your notification servers before March 29.

Note that Apple Push Notification service SSL provider certificates issued to you by Apple do not need be to updated at this time.

Learn more about connecting to APNs.

If you have any questions, contact us.

Best regards, Apple Developer Relations

What does this mean?? Can anyone explain it in regular English?

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/auhea
πŸ“…︎ Feb 10 2021
🚨︎ report
Ethereum Push Notification Service (EPNS) Goes Live Bridging Knowledge Gap thenewscrypto.com/ethereu…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/bzzking
πŸ“…︎ Jan 13 2022
🚨︎ report
We’re happy to report that Chime services are now functioning normally, though push notifications may be delayed. We appreciate your patience. For the latest information, please refer to our status page πŸ”½ chime.com/status
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/ChimeFinancial
πŸ“…︎ Dec 08 2021
🚨︎ report
NWPusher: OS X and iOS application and framework to play with the Apple Push Notification service (APNs) github.com/noodlewerk/NWP…
πŸ‘︎ 35
πŸ’¬︎
πŸ‘€︎ u/SeNeO
πŸ“…︎ Nov 28 2016
🚨︎ report
Safari Push Notifications: use the Apple Push Notifications Service to send notifications to your websites users on their desktop, even if Safari isn't running. Users can click on the branded notifications to go directly to your website. developer.apple.com/notif…
πŸ‘︎ 25
πŸ’¬︎
πŸ‘€︎ u/Qingy
πŸ“…︎ Sep 19 2013
🚨︎ report
EPNS and Atlantis World Collaborate To Build a Communication Layer for the Social Metaverse More : https://medium.com/ethereum-push-notification-service/epns-and-atlantis-world-collaborate-to-build-a-communication-layer-for-the-social-metaverse-a15805dc3e14
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Rahul_2503
πŸ“…︎ Jan 15 2022
🚨︎ report
Which is best push notification service

Which notification service is best , firebase or one signal

For small startup which would be should be best?

And in terms of pricing too , firebase say that FCM is free to use unlimited ( may be not ) on the other side onesignal provide 10k frees push notifications then 3$ per 1k , any advice which to choose?

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Dec 14 2021
🚨︎ report
Go package for HTTP/2 Apple Push Notification Service. github.com/sger/go-apns2
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/sger
πŸ“…︎ Mar 22 2016
🚨︎ report
Apple sends unsolicited push notification advertising Emmy nominations appleinsider.com/articles…
πŸ‘︎ 93
πŸ’¬︎
πŸ‘€︎ u/Retroity
πŸ“…︎ Jul 15 2021
🚨︎ report
Colter Reed: How to Send a Push Notification from Terminal. Let your Mac notify your iPhone or Apple Watch when it’s ready for you. colterreed.com/how-to-sen…
πŸ‘︎ 643
πŸ’¬︎
πŸ“…︎ Jul 04 2021
🚨︎ report
[Q] SSL mandatory for Apple Push Notification Service?

Last night I was setting up a PHP web service to send Push Notifications to my iPhone application. Currently I am able to send push notifications via HTTP using the development certificate, but will it still work after it is put into app store? Is SSL mandatory for the production certificate?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/OCDev
πŸ“…︎ Jun 19 2014
🚨︎ report
Go 1.6 HTTP/2 provider for Apple Push Notification Service github.com/RobotsAndPenci…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/nyoungman
πŸ“…︎ Dec 18 2015
🚨︎ report
Expo push notification service

How can I send notifications from the client side like FCM ? I want to build my application for both iOS & Android.

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Dec 29 2021
🚨︎ report
Selfhosted push notification services (with easy integration to FCM, APN and others?)

I tried and tried wrapping my head around FCM but it never worked and I just have failed and failed. I hate FCM and all of those protocols, but I desperately need them for push notifications. What are my options for this? Something that abstracts away the communication and just requires me to send some requests to the app.

πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/timleg002
πŸ“…︎ Oct 20 2021
🚨︎ report
How to Send a Push Notification from Terminal. Let your Mac notify your iPhone or Apple Watch when it’s ready for you.

To send to your phone or watch, just use your phone number like so:

osascript -e 'tell application "Messages" to send "A test message" to buddy "5555551234"'
πŸ‘︎ 156
πŸ’¬︎
πŸ‘€︎ u/retsotrembla
πŸ“…︎ Jul 05 2021
🚨︎ report
[Question] Best signing service that supports push notifications?

Since appdb will stop supporting push notifications (and had a price increase), I'm looking for a new service.
I don't have a lot of requirements, but they should support push notifications and let me sign my own ipa files. Oh, and replacements in case you are revoked. :)

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/1Demerion1
πŸ“…︎ Nov 03 2021
🚨︎ report
iPhone & iPad Application Development Help World: Apple Push Notification Services in iOS jogendra.com/2014/12/appl…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/thejogsa
πŸ“…︎ Dec 24 2014
🚨︎ report
Why use Azure Notification Hub with Push Notification Service? blog.kiprosh.com/azure_no…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/Loose-Tutor7488
πŸ“…︎ Dec 09 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.