Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
Google notified in April 2024 that:
Starting May 15, 2024, the stale tokens and topic subscriptions for devices, which have not been connected to FCM in over 270 days, will be considered as expired and invalid. If a request is sent to an invalid token, it will be rejected with a 404 (UNREGISTERED) error.
We recommend you to confirm that your service handles 404 error codes from FCM correctly. Please delete your record of any tokens with a 404 response code because they will not be valid again.
It doesn't seem that Parse Server would be properly handling this UNREGISTERED
error, but it's hard to tell how these errors provided by the push adapter translate to the existing error strings:
parse-server/src/StatusHandler.js
Lines 240 to 243 in 2420024
Feature / Enhancement Description
Ensure that Parse Server deletes "unregistered" tokens.