I would like to send a header of "apns-push-type": "background".
As the apple documentation says you must send this header to make the notification a background notification so that the app can process the notification in the background. using the application:didReceiveRemoteNotification:fetchCompletionHandler: method.
I would like to send a header of "apns-push-type": "background".
As the apple documentation says you must send this header to make the notification a background notification so that the app can process the notification in the background. using the
application:didReceiveRemoteNotification:fetchCompletionHandler:
method.Here is the documentation that describes this: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/
And here: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app?preferredLanguage=occ