ufuft ufuft - 6 months ago 280
Python Question

Firebase Cloud Messaging (FCM) in Python with pyFCM - Client registration

I am trying to build a simple "Hello World" type app that includes push notifications (via FCM) in python using kivy and pyFCM.

i'm having trouble finding a way in python to create a "device registration token" as described here: "https://firebase.google.com/docs/cloud-messaging/android/client"

Is there a reasonable way to do this in python or should i start looking into building my app with Android Studio?


You need to manually obtain a registration token for a client (Android, iOS, web) before you can use pyfcm to send message to the client after obtaining the client's fcm registration token.