Apple push notification php example code 2021

For a long time since Push notification became a thing on iOS, it was very simple to integrate push notification functionality into your iOS app. But recently, the code stopped working when we integrate push notification to new apps.

Weird thing is, the old code works for the old apps. But not for new apps ( not sure if that’s for new app / new Apps using new App store console accounts )

This happened after Apple’s update regarding using HTTP/2 for the push became live.

Now here is the solution.

https://github.com/rahnas/php-apple-apn-push

Important: Now bundle id also needs to be specified as a parameter.

Remiz

Remixed version of unstable human emotions and thirst of mankind actions. UX designer, UI developer and HE of WebCastle Media Pvt LTD

Talk your view

%d bloggers like this:
Read previous post:
Solved: MySQL convert_tz returns null on MacOS Catalina using XAMPP

Note: A little bit of a story since I haven't been writing for a while. If you are in a...

Close