[Ovmsdev] Apple push notifications no longer working

Mark Webb-Johnson mark at webb-johnson.net
Mon Dec 14 14:17:43 HKT 2020


Push notifications are still working ok for me. What is the error you get back from the gateway?

We are using this protocol (see apns_send function):

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html <https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/BinaryProviderAPI.html>

We need to convert to this one:

https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/ <https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/>

But have until the end of March 2021 to do it. The switch is not complex, and is probably slightly easier for us. It becomes just a simple http request, with pretty much the same payload we currently use (in json format).

Regards, Mark.

> On 11 Dec 2020, at 12:27 AM, Michael Balzer <dexter at expeedo.de> wrote:
> 
> Signed PGP part
> Mark,
> 
> a user informed me he no longer gets any push notifications to iOS.
> 
> Looking into the logs, it seems the initial connect to the gateway fails in a way the perl code does not handle.
> 
> I've found this in the Apple forums: https://developer.apple.com/forums/thread/667248
> 
> It seems the protocol we use has been deprecated, but it should continue to work until March. Do you see a similar effect on your server?
> 
> Regards,
> Michael
> 
> --
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20201214/32f85db4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20201214/32f85db4/attachment.sig>


More information about the OvmsDev mailing list