Steps to reproduce the problem:
Does FCM adopt any strategy to remove inactive push subscriptions?
For example, suppose that a browser or device is abandoned and thus it will never connect again to FCM. Do you mark the endpoints as "expired" after some time of inactivity? Or the endpoints will last forever?
Based on data collected in the following study (that I have published), it seems that you don't remove inactive subscriptions and this will create a steady decrement of delivery rates over time:
Basically it seems that unused subscriptions will last forever because:
- FCM keeps returning 2xx codes for old, inactive subscriptions
- Chrome does not provide expirationTime for push subscriptions
What is the expected behavior?
If a browser does not connect to FCM for a long time, then its push subscriptions should be removed (and the push service should return 410 Gone to the application server)
What went wrong?
Data collected show that unused push subscriptions last forever and are not removed properly by FCM
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: Channel: n/a