PyFCM icon indicating copy to clipboard operation
PyFCM copied to clipboard

Will PyFCM be affected by API discontinuance

Open dwaynez opened this issue 2 years ago • 8 comments

I received the note below from Google. Does anybody know if PyFCM will be affected, and if so are there plans to address it?

Firebase APIs 2.pdf

dwaynez avatar Jun 20 '23 22:06 dwaynez

Yes, i believe they are affected: These are the warning i'm seeing in my project:

    Your recent usage of impacted APIs/features: Server Keys
    Your recent usage of impacted APIs/features: Legacy HTTP protocol

stabacco avatar Jun 20 '23 23:06 stabacco

If PyFcm does not get updated to handle this then it looks like the best approach may be to move to firebase-admin (https://github.com/firebase/firebase-admin-python) as fcm-django has done (https://github.com/xtrinch/fcm-django).

mleech avatar Aug 02 '23 07:08 mleech

Any news on this?

senenpalanca97 avatar Oct 09 '23 09:10 senenpalanca97

I'd also like to know ahead of time if there is any plan to address this or if it will require using fcm-django or a different implementation entirely? @olucurious ?

davidemerritt avatar Dec 11 '23 21:12 davidemerritt

Asking again - is there any best practice here? Or will we have to move libraries with the upgrade deadline coming?

davidemerritt avatar Feb 02 '24 21:02 davidemerritt

@senenpalanca97 @davidemerritt does anyone want to offer help by sending a draft PR?

olucurious avatar Feb 08 '24 03:02 olucurious

any news on this? firebase will soon deprecate the old API if i understand correctly

yossivainshtein avatar May 05 '24 08:05 yossivainshtein

I ended up migrating to the firebase_admin SDK library to support FCM sending for the migration.

I have seen a slight drop-off in delivery rate and users reporting more dropped messages. Has anyone else seen this as part of the migration off of the legacy FCM endpoints? May be unrelated but the timing is suspicious.

davidemerritt avatar May 09 '24 21:05 davidemerritt

Hi All, I have updated this pyfcm package with v1 endpoints thats google mentioned. You guys can check below pull request and let me know if anything changes required. https://github.com/olucurious/PyFCM/pull/319

I hope we will release this before google remove legacy dependencies. Thanks

FYI @olucurious

Subhrans avatar Jun 01 '24 06:06 Subhrans

Migration done - https://github.com/olucurious/PyFCM/releases/tag/2.0.1

olucurious avatar Jun 18 '24 23:06 olucurious