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
The function should at least emit an error, but providing a facility to truncate one of the keys' values in the aps dictionary passed to the function down to a manageable size would be best.
The text was updated successfully, but these errors were encountered:
Currently the
pyapns.server.encode_notifications()
function doesn't check if its encoded payload size is above the 256 bytes limited by the Apple APNs server.The function should at least emit an error, but providing a facility to truncate one of the keys' values in the
aps
dictionary passed to the function down to a manageable size would be best.The text was updated successfully, but these errors were encountered: