jazzband / django-push-notifications

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

Some messages could not be processed: 'MissingTopic' #432

Closed rocchidavide closed 6 years ago

rocchidavide commented 7 years ago

Trying to send a test notification I obtain:

Some messages could not be processed: 'MissingTopic'

Application id is empty. The only setting I set is APNS_CERTIFICATE.

django-push-notifications 1.5.0 Django 1.11.6 DRF 3.4.6

matthewh commented 7 years ago

@rocchidavide DPNS is designed to support a single "application" unless you enable Multiple-Application-Support. It is OK for application_id to be empty in this case because DPNS will default to the only one available. It sounds like you need to add APNS_TOPIC to your configuration.