django-push-notifications icon indicating copy to clipboard operation
django-push-notifications copied to clipboard

Bulk notification push not returning errors with APNSDevice

Open brianedelman opened this issue 3 years ago • 0 comments

When pushing to a set of APNSDevices like device_list.send_message(msg) errors are not returned the same way as if I did a specific APNSDevice device.send_message(msg).

The specific error I was having is that I did not add an APNS_TOPIC to my settings. With a sandbox pem key working locally, this push works fine with no APNS_TOPIC. Maybe this is a separate bug to file or maybe that's intended behavior, but either way was not obvious to me mostly because I was using the bulk notification push and not getting any feedback.

When I ran a single device push the error received was that I was missing the topic (with a production pem key and sandbox=False).

Ultimately resolved my problem of not being able to send push notifications by adding the topic, but seems like the feedback loop for bulk send is missing.

brianedelman avatar Jul 27 '21 21:07 brianedelman