Application Notifications
  • 28 Sep 2023
  • 1 読む分
  • PDF

Application Notifications

  • PDF

The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約

This custom payload helps IT Admins configure how the application notifications can be seen on iOS devices.

  1. Copy the contents directly from below and add it to Custom Settings in the Device Profile or click hereto download the file and import it in the Device Profile.
    Markup
    
    DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>PayloadContentkey>
        <array>
            <dict>
                <key>NotificationSettingskey>
                <array>
                    <dict>
                        <key>AlertTypekey>
                        <integer>0integer>
                        <key>BundleIdentifierkey>
                        <string>com.app.bundleidentifierstring>
                        <key>NotificationsEnabledkey>
                        <false/>
                        <key>ShowInLockScreenkey>
                        <false/>
                        <key>BadgesEnabledkey>
                        <false/>
                        <key>PreviewTypekey>
                        <integer>2integer>
                        <key>CriticalAlertEnabledkey>
                        <false/>
                        <key>GroupingTypekey>
                        <integer>2integer>
                        <key>ShowInNotificationCenterkey>
                        <false/>
                        <key>SoundsEnabledkey>
                        <true/>
                    dict>
                array>
                <key>PayloadIdentifierkey>
                <string>com.example.mynotificationspayloadstring>
                <key>PayloadDisplayNamekey>
                <string>Notistring>
                <key>PayloadTypekey>
                <string>com.apple.notificationsettingsstring>
                <key>PayloadUUIDkey>
                <string>d1cc23d9-f482-40c5-b7b1-332149659986string>
                <key>PayloadVersionkey>
                <real>1real>
            dict>
        array>
        <key>PayloadDisplayNamekey>
        <string>Notification454563string>
        <key>PayloadIdentifierkey>
        <string>com.example.myprofilestring>
        <key>PayloadTypekey>
        <string>Configurationstring>
        <key>PayloadUUIDkey>
        <string>2bb0ab2e-1e0a-4c03-a662-b4ee2ffe224astring>
        <key>PayloadVersionkey>
        <integer>1integer>
    dict>
    plist>
    1. Replace the bundle identifier in the above payload with an application's bundle identifier for which you would want to configure the notifications (or you can add multiple application bundle identifiers). For example,
    2. You can also change the following settings in the above payload, for example:
      1. "NotificationsEnabled" is set to "false", indicating that notifications from the Messages app are disabled.
      2. "ShowInLockScreen" is set to "false", which means that message notifications will not be displayed on the device's lock screen.
      3. "BadgesEnabled" is set to "false", indicating that app badges, which display the number of unread messages, are disabled.
      4. "PreviewType" is set to "2", indicating that message previews are not shown in notifications.
      5. "CriticalAlertEnabled" is set to "false", meaning critical alerts are not allowed for the Messages app.
      6. "GroupingType" is set to "2", indicating that message notifications will be grouped together in the notification center.
      7. "ShowInNotificationCenter" is set to "false", which means that message notifications will not be displayed in the notification center.
      8. "SoundsEnabled" is set to "true", indicating that sounds will play for message notifications.
        Markup
        <key>NotificationsEnabledkey>
                            <false/>
                            <key>ShowInLockScreenkey>
                            <false/>
                            <key>BadgesEnabledkey>
                            <false/>
                            <key>PreviewTypekey>
                            <integer>2integer>
                            <key>CriticalAlertEnabledkey>
                            <false/>
                            <key>GroupingTypekey>
                            <integer>2integer>
                            <key>ShowInNotificationCenterkey>
                            <false/>
                            <key>SoundsEnabledkey>
                            <true/>
  2. Follow our guide on how to add the Custom Payload in the Device Profile & deploy it to devices.
Notes:
1. The Payload and its contents are sourced from various albeit authenticated Apple Developer communities and forums.
2. Please validate them on a test machine before deploying them on all your managed devices.
3. Scalefusion has tested these Payloads, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these payloads.
If you need additional help or guidance, please don't hesitate to reach out to our Support team. You can contact them through our live web chat or by sending an email to support@scalefusion.com

この記事は役に立ちましたか?