-
-
Notifications
You must be signed in to change notification settings - Fork 849
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(fcm): enhance message handling and logging (#778)
- Rename `notification` to `messages` for clarity - Simplify error handling by consolidating error logging and response handling - Remove redundant checks and logging for individual tokens - Add handling for retrying topic messages - Refactor success and error logging for topic messages - Ensure failed tokens are retried by appending them to `newTokens` - Clear `Topic` and `Condition` fields if no retry is needed Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Loading branch information
Showing
1 changed file
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters