Skip to content
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

Update service provider to match signature of berkayk package #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

modernben
Copy link

The underlying berkayk/laravel-onesignal package updated from 2.2 to 2.3 and had a breaking change in the service provider implementation. There is a new API key that needs to be set as the 2nd argument. That inherently broke this package.

This PR updates the Service Provider argument signature to include the new API requirement. I've also updated the readme to tell users that they can set it in the config.

Right now I have it looking for the config value or falling back to a hard-coded https://api.onesignal.com which is the new API endpoint that OneSignal is using. The old https://onesignal.com/api/v1/ will be deprecated of March 1, 2025.

Troublesome Release: https://github.com/berkayk/laravel-onesignal/releases/tag/v2.3
Closes: #155

@modernben
Copy link
Author

@LKaemmerling @mpociot If we could get this merged pretty soon that would be really nice. It's affecting production clients. Appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatibility Issue with berkayk/onesignal-laravel Version 2.3.0
1 participant