During the implementation of push notifications for iOS devices you may have noticed that you can configure the type of notification sent to Apple devices. Available values include
mdm. The value you set for
push_type key should always align with the values inside your
Check our APNS2 payload example to see where to set it:
"text": "You are invited to chat",
"title": "Chat Invitation",
"body": "You are invited to chat"
What a given push type is used for?
alert push type is meant for notifications that trigger a user interaction- an alert, badge, or sound.
background delivers content in the background, and don’t trigger any user interactions.
location is used for notifications that request a user’s location.
voip notifications provide information about an incoming Voice-over-IP (VoIP) call.
complication push type is used for notifications that contain update information for a watchOS app’s complications.
fileprovider signals changes to a File Provider extension.
mdm push type notifies managed devices to contact the Mobile Device Management server.
For more details about the push types and their implementation, please visit Apple's developer site.
If you have any questions, please contact email@example.com.