olucurious / PyFCM

Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)
http://olucurious.github.io/PyFCM/
MIT License
805 stars 205 forks source link

How do i get all registration_ids #235

Closed codingsett closed 5 years ago

codingsett commented 5 years ago

Hi i have been looking for hours for this since i want to send notifications to all my devices but i see i need notification ids. How do i get that using this package? Any help would be appreciated thanks!

leogny commented 5 years ago

I think you may be referring to the device token? You need to obtain that from the device or devices and store it somewhere such as a database and then you can use this.

olucurious commented 5 years ago

You need to subscribe your users to a topic and send the notification to the topic