@@ -239,7 +239,7 @@ def apns_send_message(
239
239
:param alert: The alert message to send
240
240
:param application_id: The application_id to use
241
241
:param creds: The credentials to use
242
- :param mutable_content: If True, enables the "mutable-content" flag in the payload .
242
+ :param mutable_content: If True, the "mutable-content" flag will be set to 1 .
243
243
This allows the app's Notification Service Extension to modify
244
244
the notification before it is displayed.
245
245
:param category: The category identifier for actionable notifications.
@@ -306,7 +306,7 @@ def apns_send_bulk_message(
306
306
:param alert: The alert message to send
307
307
:param application_id: The application_id to use
308
308
:param creds: The credentials to use
309
- :param mutable_content: If True, enables the "mutable-content" flag in the payload .
309
+ :param mutable_content: If True, the "mutable-content" flag will be set to 1 .
310
310
This allows the app's Notification Service Extension to modify
311
311
the notification before it is displayed.
312
312
:param category: The category identifier for actionable notifications.
@@ -397,10 +397,9 @@ async def _send_bulk_request(
397
397
398
398
aps_kwargs = {}
399
399
if mutable_content :
400
- aps_kwargs ["mutable-content" ] = mutable_content
400
+ aps_kwargs ["mutable-content" ] = 1
401
401
if category :
402
402
aps_kwargs ["category" ] = category
403
-
404
403
if content_available :
405
404
aps_kwargs ["content-available" ] = 1
406
405
0 commit comments