Code Monkey home page Code Monkey logo

Comments (6)

xtrinch avatar xtrinch commented on June 17, 2024

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.

irfankpr avatar irfankpr commented on June 17, 2024

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:

  1. Active and Online Devices: The devices were connected to the network and actively running the application.
  2. Notification Push: I attempted to push notifications to all devices listed in the FCMDevice model.
  3. 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.

xtrinch avatar xtrinch commented on June 17, 2024

I would suggest logging out the actual reason why FCM was unable to deliver the notification?

from fcm-django.

irfankpr avatar irfankpr commented on June 17, 2024

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.

xtrinch avatar xtrinch commented on June 17, 2024

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.

xtrinch avatar xtrinch commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.