Md Azharuddin
Md Azharuddin

Reputation: 1476

Using FCM with django and flutter

I have a django backend server and I want to send notification to my flutter app. I want to use Firebase Cloud Messaging for this.

My question is, do I need to store something in my database to send notification to the app? I was planning to use django_push_notification on the backend side.

Upvotes: 1

Views: 2870

Answers (1)

hendrikschneider
hendrikschneider

Reputation: 1846

You need to store the device id on the server to be able to send push notifications to your app. You can use this django app to expose rest endpoints the id registration and sending notifications: https://github.com/xtrinch/fcm-django

Upvotes: 4

Related Questions