Comments (6)
It's like you desribed - devices not receiving notifications are marked as inactive. So if a notification cannot be sent to a device, it's marked as inactive. There's no network checks and if the user is using the app and so forth. May I ask why they are not receiving notifications?
from fcm-django.
Some of the devices that were marked as inactive are being actively used for testing the application. These devices were online and had the application open in front of me when I attempted to push notifications. Despite this, these devices were marked as inactive after the notification push attempt.
Here are the specific observations:
- Active and Online Devices: The devices were connected to the network and actively running the application.
- Notification Push: I attempted to push notifications to all devices listed in the FCMDevice model.
- Mixed Results: Out of all devices, only one device successfully received the notification and was not marked as inactive. The rest, despite being active and online, did not receive the notification and were subsequently marked as inactive.
from fcm-django.
I would suggest logging out the actual reason why FCM was unable to deliver the notification?
from fcm-django.
I would suggest logging out the actual reason why FCM was unable to deliver the notification?
as i mentioned in previous replay , The devices were connected to the network and actively running the application. means they were logged-in
from fcm-django.
Understood. But that alone is not informational enough. You will require the actual response from FCM, to be able to infer any conclusions here.
from fcm-django.
Also @irfankpr FCM will sometimes replace tokens for active devices in which case old ones will not work. In any way, you will need to diagnose why they got deactivated to proceed further
from fcm-django.
Related Issues (20)
- Problem with sending notifications to topic in bulk HOT 7
- Sound and Badge not working when notification arrives in IOS HOT 4
- Documentation about installing with pip seems to be broken on readthedocs HOT 3
- Can this package be compatible with firebase-admin 6? HOT 5
- Add updated_at field HOT 21
- Backward compatible Updates!!!!! HOT 3
- unique registration_id as textfield broken on mysql HOT 11
- USER_MODEL configuration in FCM_DJANGO_SETTINGS not working HOT 5
- Compatibility with Python 3.11 and Django 4.2 HOT 1
- Deprecated send_all() and send_multicast() methods HOT 6
- set badge count dynamically by user HOT 3
- Issue in migration HOT 6
- Changes related to the firebase API migration (batch send) HOT 2
- OperationalError: "max key length is 3072 bytes" when running tests w/ MySQL w/o migrations
- CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph
- Support Asynchronous Handling for Push Notifications in FCM Django HOT 3
- fcm_django.FCMDevice.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out. HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'. HOT 2
- Raising the Firebase error instead of returning error 500 in admin HOT 1
- FCMDevice QuerySet does not work with send_message due to `send_all` usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcm-django.