jazzband / django-push-notifications

Send push notifications to mobile devices through GCM or APNS in Django.
MIT License
2.24k stars 609 forks source link

Bulk Notification for IOS #587

Open infinityofzeroes opened 3 years ago

infinityofzeroes commented 3 years ago

We are currently using version 2.0.0 but we cannot find any working solution for sending bulk push notification for IOS... Are you able to let us know which is the working line of code for both OS (IOS/ANDROID)???

boscoseries commented 3 years ago

I can send single and bulk push notifications to ANDROID/IOS using these default settings. However, I had problems pushing to topics.

PUSH_NOTIFICATIONS_SETTINGS = {

    # Load and process all PUSH_NOTIFICATIONS_SETTINGS using the AppConfig manager.

    "CONFIG": "push_notifications.conf.AppConfig",

    # collection of all defined applications
    "APPLICATIONS": {
        "<application_name>": {
            # PLATFORM (required) determines what additional settings are required.
            "PLATFORM": "FCM",

            # required FCM setting
            "API_KEY": "apikey"
        }
    }
}