-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: headers #147
Comments
Same issue, if some one has fixed it plz lemme know.Thanks |
1 similar comment
Same issue, if some one has fixed it plz lemme know.Thanks |
any update on this issue... |
vendor\edujugon\push-notification\src https://github.com/darshantank1995/apnforpushnotification/blob/master/Apn.php |
thanks @darshantank1995 ... but the problem is, this is issue happened in current release v5.0.0, your file works fine but it's the old code with APN sandbox URL. @Edujugon have any time to look into it |
I just ran into this the past few days. If you update your payload to contain a headers key it will get around that error. Just testing this in production, you now need to specify an apns-topic which is the bundle ID when using a production certificate.
|
Maybe for iOS 13+ this is better (not tested):
|
I have using this package and pass all parameter but this error is found **Undefined index: headers File: /var/www/html/indiaNic-work/echo-loud/laravel/vendor/edujugon/push-notification/src/Apn.phpLine: 255 **
The text was updated successfully, but these errors were encountered: