Sending notification to GCM from Django via FCM token

I am doing my first steps in Django-Android interaction, and I am bit confused about the logic how FCM technology works. I have installed django-fcm via pip, and now my goal is to send a...

MismatchSenderId on Django - Firebase Cloud Messaging

I would like to implement Django-fcm when I try to test it, I was able to install Django FCM everything went successfully. Here is the error that appears MismatchSenderId. Here are some...

How to build a system to handle MQTT broker and Django

I am planning to build a home automation system where IoT devices communicate with the MQTT broker.The system also involves a Django web server that serves API for ios/android devices. I will...

Firebase Cloud Messaging + Django: How to securely store the service account's private key?

I just started implementing FCM into my Django backend. The problem I encountered is the following. In the docs you are told to generate a private key JSON file and securely store it. Usually I...

Firebase Cloud Messaging + Android: Priority of silent notifications

TLDR: Messages send to Android devices via FCM take between 10 seconds and 5 minutes to get delivered. Probably due to priority. I set it to "high", but it seems like it doesn't stay on that...

Sending Django push notification to APNs gets protocol error

In my server I have django-push-notifications==1.6.0 and there is this strange error: Sending a push to FCM with package version 1.6.0 works fine, but with APNs sending a push I get this error...

Firebase Cloud Messaging - Django - how do I service worker?

Update from a place of mild understanding: I have read much about Service Workers and advanced the project I'm working on far past where it was when I wrote this. The main issue I was exploring...

How to fixJSON_PARSING_ERROR: Unexpected character?

I'm using Django to send notifications to android users and requests library to handle the post request. This is my code snippet where I send the actual request to FCM. def...

fcm django, send message to single user having mutiple devices

I am new to django. I want to know how can I send firebase cloud message to a single user having multiple devices using fcm django

How do I implement FCM on Python?

This is my serializer class which consists of 2 tables i.e Server and Android .On the android table i have created a function that if both the labels (i.e label from Server and Android are same...

How to sent FCM token to django application

I have django web application and Android WebView application which simply open url of my web site. I would like to sent notification to users. I know that i need to use django-fcm. But there is...

Firebase FCM push notifications not show on iOS 12

I am using python 3 and Django framework with Firebase FCM to send push notifications from an iOS device. The push notifications did not show on device, until yesterday. When I now send a push...

Push notification in django rest

I am working on a attendance registration system where a user of an office can make a leave request. When any user makes a leave request, it must be notified to admin. How do I implement it ? I...

How to send firebase notifications using django-admin panel or Admin account?

I'm developing an android app in client side and django admin panel in server side. What I need to do is sending firebase notifications to single or all users, I have already registered android...

How to check if the request is from the firebase admin and check if it is verified in firestore security rules?

In my django server I am sending fcm notifications using firebase-admin and also creating some documents via my server. Whenever I try to send the notification in my server it gives an error...

React Native Local Notification with icon from url

I am developing a react native app with chatting functionality. I use FCM for the notifications which are sent from my django server using fcm-django plugin. For receiving the notifications in the...

Retrieving FCM token in JavaScript

I'm trying to build a chat system using django for backend and FCM for notifications. Till now, I've been trying to retrieve FCM token, but I haven't been able to using the code below. When I try...

How to implement web client with django-push-notifications?

I have successfully implement APNS using django-push-notifications. And I have found that this dependency is growing up and has a Web Push Notifications as well. I had tried followed up the given...

How to send a push notification to all users using firebase admin sdk?

I have an Android app to which I send push notifications via firebase. Now I am making a Django app that will run on my server. I wanted to send the notification to my app using that django app....

how to fix 'InvalidRegistration' FCM

I'm getting the InvalidRegistration error in response of my post request for sending push notification. When I use the Firebase console to send push notification it works all fine. so I copy the...

Using docker for Celery Task +Rabbitmq not working on python 3.7

I am using Docker to setup periodic task with Celery+RabbitMQ in DJANGO Project. Using new versions of packages: Python: 3.7 Celery: 4.4.0rc1 Django: 2.2.5 Getting below error: Traceback (most...

How can I use TTL to prevent a message backlog when using Firebase Cloud Messaging with Django-Push-Notifications?

I am working with Firebase Cloud Messaging in Django using django-push-notifications to deliver push notifications to our users via desktop notifications. After a browser is fully closed (such as...

How send Firebase Push notification in django

I have followed the steps. pip install fcm-django Edit your settings.py file INSTALLED_APPS = ("fcm_django") FCM_DJANGO_SETTINGS = { "FCM_SERVER_KEY": "[your api key]" } and...

Can't get FCM push notifications from my server on iOS (working on Android)

I'm new to iOS/Swift and can't get push notifications working. I have configured my server backend to push notifications to my app when some action happens. I have configured a data notification...

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...

How to send push notification on IOs using fcm_django

I'm using this plugin to send push notifications from my Django REST app. https://github.com/xtrinch/fcm-django It works fine for the android side but IOs are unable to receive any notifications....

How solve ImportError: No module named fcm_django error in python

When running python manage.py runserver get this error ImportError: No module named fcm_django??? I run this command pip install django-fcm --process-dependency-links this can't solve...

Key is still referenced from table "old_table"

I am developing and rest api with Django rest_framework. For notifications, I used fcm_django package. But after a while, I removed that package and used another package for notifications. Then,...

Django and FCM to send push notifications

What's the correct way to use fcm-django using a custom Device-info model or a possibility to extend FCMDevice with more attributes. For example, I need to store into the device info some...

How to deploy GOOGLE_APPLICATION_CREDENTIALS and use from Django app deployed using Elasticbeanstalk

I have an Django app deployed to AWS using Elasticbeanstalk. I implemented FCM(Firebase Cloud Messaging) relation to Django app. To access FCM feature from Django, it required Firebase Admin SDK...