firebase-admin-go
firebase-admin-go copied to clipboard
FR:firebase client could handle retry for batch Send methods
trafficstars
Describe your environment
- Operating System version: Mac / Linux
- Firebase SDK version:
- Library version: 4.7
- Firebase Product: cloud messaging
[REQUIRED] Step 3: Describe the problem
Retry when one of the tokens gets INTERNAL error.
Here is the scenario:
- client uses SendAll to notify 10 different customers using 10 different tokens.
- say 1 of them gets internal error.
And we would like to try for that one token that got the internal error.
Proposed Solution
This library allows users to configure
- to retry on errors specified here: https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode
- honour the Retry-After header
I found a few problems with this issue:
- I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
- This issue does not seem to follow the issue template. Make sure you provide all the required information.