Edujugon / PushNotification

PHP and Laravel Package to send push notifications to Android and IOS devices.
MIT License
477 stars 159 forks source link

Updated APNs provider API deadline reagrading HTTP/2-based Apple Push Notification service #125

Open hiteshlalwani-tudip opened 4 years ago

hiteshlalwani-tudip commented 4 years ago

Does this package work with Updated APNs provider API (HTTP/2-based)? https://developer.apple.com/news/?id=c88acm2b

artmerlop commented 4 years ago

Is the maintainer going to answer?

materazu commented 3 years ago

any news on this topic guys?

iamrajput commented 3 years ago

Any update on this. Like we need to update anything In our end or app team needs to update. @Edujugon

peterarends commented 3 years ago

Received a message from Apple today saying "APNs will no longer support the legacy binary protocol after March 31, 2021." So I think this package will not be able to send push notifications to iOS devices after March 31.

How did you guys solve this challenge?

jeremymlane commented 3 years ago

I dug into this a little bit and this package does not support HTTP/2. I'm digging a little more to see how difficult updating it would be, but it does looks like https://github.com/laravel-notification-channels/apn uses the newer protocol.

Edit: https://github.com/edamov/pushok is maybe the better option.

peterarends commented 3 years ago

Thanks @jeremymlane, it looks like the APN notification channel implements Pushok. Both options look good.

Edit: I've implemented Pushok and works well. With the notification channel I couldn't figure out how to send one notification to multiple devices in one go.

Edujugon commented 3 years ago

Hi, Unfortunately, I don't have the time to implement this at the moment. Is anyone up for helping on this? a PR would be more than welcome!!

Thank you.

peterarends commented 3 years ago

Thanks for your response @Edujugon. I wish I could help but I don't have the skills to do it (properly that is).