1

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.

Md Azharuddin
  • 1,346
  • 1
  • 9
  • 30
  • You need to store device ids called register device id and send them push notification. You find also library for that. If new post will publish send notification to register device. – Gorkhali Khadka Jan 21 '20 at 17:29

1 Answers1

4

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

hendrikschneider
  • 1,696
  • 1
  • 14
  • 26