davibennun / laravel-push-notification

Laravel package to enable sending push notifications to devices
1.23k stars 259 forks source link

No receiving push to ios device #205

Open sarveshamrit opened 3 years ago

sarveshamrit commented 3 years ago

When sending push from server it doesn't delivers to ios device but works in android, i tried via pushtry.com it went through it but not from server @davibennun

manojkumar-net commented 3 years ago

yes. it not working.

manojkumar-net commented 3 years ago

https://developer.apple.com/news/?id=c88acm2b

sarveshamrit commented 3 years ago

but using same pem how pushtry.com sends ?

manojkumar-net commented 3 years ago

my integration also not working. I try core PHP code wouldn't work.

webblufter commented 3 years ago

it was working for me with pem files but with same code now its not working, @davibennun is there any iOS policy updates?

sarveshamrit commented 3 years ago

@webblufter there is something wrong but no one is there for help, no push going out

Seems this is breaking thing: https://onesignal.com/blog/ios-13-introduces-4-breaking-changes-to-notifications/

webblufter commented 3 years ago

@sarveshamrit thanks for sharing i think it might be issue due to iOS protocol changes as showing in image i am using TLS v1.2 Image 12

and below is iSO community quoted message @davibennun https://developer.apple.com/forums/thread/120510 tls issue

I am not sure if the issue is same what if get from this, please verify if anyone solved it?

manojkumar-net commented 3 years ago

I'm moving to APNs HTTP/2 based connection.

sarveshamrit commented 3 years ago

@manojkumarlinux which one and can u help me achieve as well?

webblufter commented 3 years ago

I fixed that as explain in following link, iOS and Android both Notification using Firebase, and write own curl code to send it to Firebase. https://www.nextbraintech.com/blog/how-to-send-the-push-notifications-in-laravel-php-framework-to-ios-and-android-apps

manojkumar-net commented 3 years ago

@sarveshamrit try to pushok library using p8 key method.

soorajthekkepatt commented 3 years ago

I'm also facing the same issue ! :(

sarveshamrit commented 3 years ago

upgrade to fcm push this plugin will no longer work

On Tue, Jun 15, 2021, 10:43 PM Sooraj T @.***> wrote:

I'm also facing the same issue ! :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davibennun/laravel-push-notification/issues/205#issuecomment-861669238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPSUEN7RG3IEV6TE2D425LTS6BELANCNFSM45ARW3HA .

soorajthekkepatt commented 3 years ago

My app is in the laravel 5.1 version, Is FCM Push work in that version?

sarveshamrit commented 3 years ago

fcm push will work it uses curl to send push you need to write some lines of code

On Tue, Jun 15, 2021, 10:48 PM Sooraj T @.***> wrote:

My app is in the laravel 5.1 version, Is FCM Push work in that version?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davibennun/laravel-push-notification/issues/205#issuecomment-861672459, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPSUELIETJGGMFFTIFHYLTTS6BXBANCNFSM45ARW3HA .

soorajthekkepatt commented 3 years ago

https://github.com/laravel-notification-channels/fcm

is this the package you are talking about? but in its readme, it shows Laravel 5.5+, 6.x, 7.x, and 8.x. :(

sarveshamrit commented 3 years ago

sir not using library but directly writing code for fcm curl push

On Tue, Jun 15, 2021, 10:53 PM Sooraj T @.***> wrote:

https://github.com/laravel-notification-channels/fcm

is this the package you are talking about? but in its readme, it shows Laravel 5.5+, 6.x, 7.x, and 8.x. :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davibennun/laravel-push-notification/issues/205#issuecomment-861676127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPSUELQAEOAIYQFWB5SKP3TS6CJ3ANCNFSM45ARW3HA .

soorajthekkepatt commented 3 years ago

Ok i will try Thanks Brother :)

sarveshamrit commented 3 years ago

write direct code to send why you will use library

On Tue, Jun 15, 2021, 10:57 PM Sarvesh Amrit @.***> wrote:

sir not using library but directly writing code for fcm curl push

On Tue, Jun 15, 2021, 10:53 PM Sooraj T @.***> wrote:

https://github.com/laravel-notification-channels/fcm

is this the package you are talking about? but in its readme, it shows Laravel 5.5+, 6.x, 7.x, and 8.x. :(

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davibennun/laravel-push-notification/issues/205#issuecomment-861676127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPSUELQAEOAIYQFWB5SKP3TS6CJ3ANCNFSM45ARW3HA .

sarveshamrit commented 3 years ago

You are welcome. msg me if you need any help thanks

On Tue, Jun 15, 2021, 10:59 PM Sooraj T @.***> wrote:

Ok i will try Thanks Brother :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davibennun/laravel-push-notification/issues/205#issuecomment-861680394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPSUEMRQYQZJ7VGKSYJ533TS6C7XANCNFSM45ARW3HA .

manojkumar-net commented 3 years ago

create my own lib -> Simple-Apns