jazzband / django-push-notifications

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

add "category" to apns push notification #545

Closed leventengin closed 1 year ago

leventengin commented 4 years ago

how can i add "category" to apns push notification? do i include to extra?

ivlevdenis commented 4 years ago

Not, specify in kwargs Example:

apns_device.send_message('registration_id', 'message', category='NEW_MESSAGE_CATEGORY')