Jump to content
Beppe Magistro

iOS push notification http/2

Recommended Posts

hi all ,

Apple will discontinue notification in binary mode at the end of march and will work only in HTTP/2 mode.

anybody has a working example?

Thanks in advance

Beppe

 

Share this post


Link to post

You can use Firebase Cloud Messaging instead. There are some examples of FCM with delphi in github.

Share this post


Link to post

Hi,

 

sgcWebSockets (which I am the developer) supports HTTP/2 in Client and Server components (source code is 100% Delphi code without external dependencies, except openSSL libraries), so you can send push notifications using HTTP/2 protocol. To send notifications you can use Token-Based or Certificate-Based trust with APNs using HTTP/2 protocol and TLS 1.2 or later, both types of authentication are supported by sgcWebSockets.

You can read more about this from the links below:

 

Documentation

  Apple Push Notifications HTTP/2

 

Compiled Demo

  https://www.esegece.com/download/protocols/sgcApplePushNotifications.zip (Demo sources can be found in the trial, in folder: Demos\20.HTTP_Protocol\07.Apple_Push_Notifications)

 

Trial

  https://www.esegece.com/websockets/download/download-delphi-cbuilder

 

Kind Regards,

Sergio

 

 

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×