[Vortex] FCM: Update response class for the new firebase v1 API
Review Request #1090 — Created Jan. 11, 2024 and submitted — Latest diff uploaded
Information | |
---|---|
b.stoop | |
Lunr.Vortex | |
fcm/updateresponse | |
|
|
1126 | |
62cd815... | |
Reviewers | |
lunr | |
Based on master
FCM: Update response class for the new firebase v1 API
The response changed as well, see the response json files in the diff. Referenced: https://firebase.google.com/docs/reference/fcm/rest/v1/FcmError. This probably needs some testing and tweaking once we have more responses from firebase as the documentation is not very clear or even inconsistent
Github actions run: https://github.com/brianstoop/lunr.vortex/actions/runs/8068348457
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
src/Lunr/Vortex/FCM/FCMResponse.php |
---|
src/Lunr/Vortex/FCM/Tests/FCMDispatcherPushTest.php |
---|
src/Lunr/Vortex/FCM/Tests/FCMResponseBasePushErrorTest.php |
---|
src/Lunr/Vortex/FCM/Tests/FCMResponseBasePushSuccessTest.php |
---|
src/Lunr/Vortex/FCM/Tests/FCMResponseBasePushTest.php |
---|
tests/phpunit.xml |
---|
tests/statics/Vortex/fcm/response_missing_results.json |
---|
tests/statics/Vortex/fcm/response_single_apns_error.json |
---|
tests/statics/Vortex/fcm/response_single_error.json |
---|
tests/statics/Vortex/fcm/response_single_success.json |
---|