You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notifications send just fine through the Django console test functionality but when trying to send via the send_message function, notifications never come through.
Using this code to send and the same APNS device id for both tests:
devices = APNSDevice.objects.filter(user=user)
for device in devices:
try:
device.send_message(message)
except APNSServerError as e:
logger.info(f"Error in sending message: {e}")
Notifications send just fine through the Django console test functionality but when trying to send via the send_message function, notifications never come through.
Using this code to send and the same APNS device id for both tests:
devices = APNSDevice.objects.filter(user=user)
for device in devices:
try:
device.send_message(message)
except APNSServerError as e:
logger.info(f"Error in sending message: {e}")
Receiving these logs when trying to send:
The text was updated successfully, but these errors were encountered: