-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix: Invalid push notification tokens are not cleaned up from database for FCM API v2 #9173
fix: Invalid push notification tokens are not cleaned up from database for FCM API v2 #9173
Conversation
Thanks for opening this pull request! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## alpha #9173 +/- ##
==========================================
- Coverage 94.15% 94.14% -0.01%
==========================================
Files 186 186
Lines 14727 14729 +2
==========================================
+ Hits 13866 13867 +1
- Misses 861 862 +1 ☔ View full report in Codecov by Sentry. |
# [7.1.0-alpha.13](7.1.0-alpha.12...7.1.0-alpha.13) (2024-07-01) ### Bug Fixes * Invalid push notification tokens are not cleaned up from database for FCM API v2 ([#9173](#9173)) ([284da09](284da09))
🎉 This change has been released in version 7.1.0-alpha.13 |
# [7.2.0-beta.1](7.1.0...7.2.0-beta.1) (2024-07-09) ### Bug Fixes * Invalid push notification tokens are not cleaned up from database for FCM API v2 ([#9173](#9173)) ([284da09](284da09)) ### Features * Add support for dot notation on array fields of Parse Object ([#9115](#9115)) ([cf4c880](cf4c880)) * Upgrade to @parse/push-adapter 6.4.0 ([#9182](#9182)) ([ef1634b](ef1634b)) * Upgrade to Parse JS SDK 5.3.0 ([#9180](#9180)) ([dca187f](dca187f))
🎉 This change has been released in version 7.2.0-beta.1 |
# [7.2.0](7.1.0...7.2.0) (2024-07-09) ### Bug Fixes * Invalid push notification tokens are not cleaned up from database for FCM API v2 ([#9173](#9173)) ([284da09](284da09)) ### Features * Add support for dot notation on array fields of Parse Object ([#9115](#9115)) ([cf4c880](cf4c880)) * Upgrade to @parse/push-adapter 6.4.0 ([#9182](#9182)) ([ef1634b](ef1634b)) * Upgrade to Parse JS SDK 5.3.0 ([#9180](#9180)) ([dca187f](dca187f))
🎉 This change has been released in version 7.2.0 |
Pull Request
Issue
Closes: #9085
Approach
The references on how to manage the token responses:
Tokens will be cleaned up in the following cases:
messaging/registration-token-not-registered
messaging/invalid-registration-token
messaging/invalid-argument
but only if error message isThe registration token is not a valid FCM registration token
--> I tested this out; this error response is received if the token format itself is invalid, for example a token value ofinvalid_test_token
Tasks