{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"}],"enrichment":{"capability":"Django app that integrates Firebase Cloud Messaging to send push notifications to mobile devices and browsers via the Firebase HTTP v1 API.","skillfed_tags":["django-integration","firebase","push-notifications"],"use_cases":["Send targeted push notifications to mobile app users by querying the FCMDevice model and calling send_message() with a Message object.","Automatically prune inactive devices by letting the library mark failed-delivery devices as inactive and optionally delete them.","Test notification payloads during development using dry_run=True to validate message structure without sending real notifications.","Manage multi-device scenarios where one user may have multiple registered devices, using ONE_DEVICE_PER_USER setting to enforce single-device-per-user rules.","Inspect batch send failures via response.failed_registration_ids and response.failed_exceptions to diagnose configuration or credential issues.","Integrate with Django admin to manually send test notifications and view device registration status."],"what_it_does":"fcm-django bridges Django applications with Firebase Cloud Messaging, providing a model-based interface to manage FCM device registrations and send push notifications. It wraps firebase-admin to handle the complexity of FCM's HTTP v1 API, storing device tokens in a Django model with metadata like device type, user association, and active status, then offering queryset methods to send messages to single or bulk device collections.\n\nThe package automates common operational tasks: it marks devices inactive when notifications fail to deliver, provides Django admin integration for testing and management, emits signals when devices are deactivated, and returns detailed batch response metadata so applications can inspect per-device failures. It supports notification messages (with title, body, image) and data messages, with optional dry-run validation before actual delivery.","worth_installing":"Yes. The package is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and provides a well-documented, low-friction integration layer for Firebase Cloud Messaging in Django projects. Install it if you need to send push notifications from a Django application."},"id":"fcm-django","links":{"html":"https://skillfed.io/packages/fcm-django","md":"https://skillfed.io/packages/fcm-django.md","pypi":"https://pypi.org/project/fcm-django/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-07","license_spdx":"MIT","license_treatment":"permissive","name":"fcm-django","python_support":"supports_current","summary":"Send push notifications to mobile devices and browsers through FCM in Django."},"popularity":{"monthly_downloads":299530,"position":7859,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.2.0"}
