I've received the email below from Apple and I wonder if/how iOS LC Apps will be impacted by this.
Anyone knows?
The HTTP/2‑based Apple Push Notification service (APNs) provider API lets you take advantage of great features, such as authentication with a JSON Web Token, improved error messaging, and per‑notification feedback. If you still send push notifications with the legacy binary protocol, make sure to upgrade to the APNs provider API as soon as possible. APNs will no longer support the legacy binary protocol after March 31, 2021.
Thanks
Simon
________________________________________ To "AI", or not to "AI", that is the question
i'm embarrassed to say that i am not aware of one. i knew this was coming, but push has not been a high enough priority to fiddle with it, yet, and I thought that by now someone else would have done it so I didn't have to.
Well, since there is a LC Lesson about how to send push notifications on iOS I guess the LC team (which is hopefully hearing) will take care of the update and publish a new version showing how to handle it.
Will see
Simon
________________________________________ To "AI", or not to "AI", that is the question
Note that you do not need to do any changes in your app that receives push notifications. The changes regarding the http2 API are only server-side, i.e. on the way you send push notifications to your app.
Hi Panos, many thanks for the update, very useful.
In the previous version there was an example of a LC stack to SEND the notifications, I wonder if it is still valid as there is no mention to it in the new lesson...
Regards
Simon
________________________________________ To "AI", or not to "AI", that is the question
Nope, the old example of the LC stack for sending push notifications is not valid anymore, since it uses the legacy binary API. In fact it will stop working at the end of this month.
You can now use the example to send notifications from the terminal, or to use the third party utility that is mentioned in this new lesson.
In the future we could write a small LC app that does that, based on the terminal commands.