Questions tagged [django-push-notifications]

A minimal Django app that implements Device models that can send messages through APNS and GCM.

Django Push Notifications is a minimal Django app that implements Device models that can send messages through APNS and GCM.

Django 1.8 is required. Support for older versions is available in the release 1.2.1. Tastypie support should work on Tastypie 0.11.0 and newer. Django REST Framework support should work on DRF version 3.0 and newer.

Author: Jerome Leclanche

Home Page: https://github.com/jleclanche/django-push-notifications

Download URL: https://github.com/jleclanche/django-push-notifications/tarball/master

Pypi URL: https://pypi.python.org/pypi/django-push-notifications

30 questions
0
votes
0 answers

Sent notification to external application from online food order application

After placing an order the web application should sent notification to all subscribed users about order details.How to achieve it in django web application using django push notification? Please help me guyss...
Sabana K
  • 1
  • 1
  • 3
0
votes
0 answers

Set up Django push notification for web only

I want to set up push notification for a website. I just followed as described in documentation, but unfortunately it is now working. Here are my settings: PUSH_NOTIFICATIONS_SETTINGS = { "WP_PRIVATE_KEY": BASE_DIR / 'private_key.perm', …
0
votes
1 answer

Add sound to push notifications

I'm using django-push-notifications to send push to our ios users (using APNS). from push_notifications.models import APNSDevice, APNSDeviceQuerySet from apps.notifications.db.models import Notification from apps.users.db.models import User class…
0
votes
1 answer

Firebase for notification and aws for backend and database

I am trying to implement a notification system in Django. I find the firebase quite easy which is as follow: from fcm_django.models import FCMDevice device = FCMDevice.objects.all() Now in view: device.send_message(title="Title", body="Message",…
0
votes
0 answers

How to send Push Notifications at Specific times listed in a Django Model

I am looking to use my django rest framework project along with django push notifications to send notifications to iOS users. I want these notifications to be sent at times specified in my django models. What would be the best way to achieve…
0
votes
1 answer

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 when the the computer is turned off), our users…
0
votes
1 answer

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 exact registration token I've used in console. I also…
0
votes
1 answer

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 code, but unable to see a registation_id. I got…
joe
  • 8,383
  • 13
  • 61
  • 109
0
votes
0 answers

Django Push_notification's Bare Device can't be imported

I got a Django project and its model, this module imported: from push_notifications.models import BareDevice I have installed push_notification library successfully but the problem is, this library don't have any function or class named…
user11149657
0
votes
1 answer

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…
0
votes
1 answer

Notification received but no icon displayed in notification bar

I am sending a Notification from my server (Django) using django-push-notifications through FCM: from push_notifications.models import GCMDevice agents_user_ids = [agent.user.id for agent in task.agents.all()] devices =…
0
votes
1 answer

Django Push Notification - Can't read ANPS certificate file

I am trying to implement push notification on my iOS app that uses a Django backend. I will explain some context before, in case it has revealing information. If you want to go to the problem directly, go the The Problem section. Context Following…
jhc
  • 1,739
  • 3
  • 21
  • 46
0
votes
1 answer

No `data` communication between django-push-notifications and Service Worker

I have been tinkering with django-push-notifications, followed a google tutorial. My current status is a web which seems to work and register and asks for notifications permissions and so on. I am running through ./manage.py runserver and using…
0
votes
2 answers

Django setting - apps aren't loaded yet

I want to import an apps model in setting.py for PUSH_NOTIFICATIONS_SETTINGS in django-push-notifications. This is my code: INSTALLED_APPS = ( .... 'my_app', 'push_notifications' .... ) from my_app.models import…
-1
votes
1 answer

How to link Django project to APNS .p8 key on Google Cloud Platform

I'm currently trying to add push notifications to my iOS app. My backend server is a Django server deployed on Google Cloud Platform. I've been using django-push-notifications on my backend and I was having trouble actually sending messages. When I…
kbunarjo
  • 1,277
  • 2
  • 11
  • 27
1
2