Needs review
Project:
Firebase Push Notification (FCM)
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2019 at 12:09 UTC
Updated:
10 May 2024 at 22:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jginer commentedAnd the proposed patch
Comment #3
espurnesupdated issue description.
Comment #4
krzysztof domańskiComment #7
ptmkenny commentedAdded an MR of patch #2 to make this easier to review.
Comment #8
handkerchiefA related question to this topic: What do you recommend for regularly checking whether the tokens already saved are still valid?
Would a good option be, for example, a cronjob that tests all stored tokens with this service every week/month and deletes them from the database if they are negative?
@see https://firebase.google.com/docs/cloud-messaging/manage-tokens#update-to...
Comment #9
ptmkenny commented@handkerchief This module currently has no feature for managing whether tokens are still valid. That would be a useful feature to have, but it should probably be made as a feature request in a separate issue.
Also, for what it's worth, this module is not actively maintained, so hopefully you're able to contribute the code yourself.
Comment #10
handkerchiefI switched to the project firebase_php. It has validation features as well as the modern way of API as google is discontinuing the old one soon.