Optional: Avoiding pasteboard notifications

Avoiding pasteboard notifications in iOS 16

For configuring iOS 16 compatibility, Ivanti recommends implementing Extensible Single Sign-On configuration described in "Configuring iOS 16 compatibility for AppConnect quick start" in the AppConnect for Core Guide and AppConnect for Ivanti Neurons for MDM Guide.

Avoiding pasteboard notifications in iOS 14

Rather than implementing this method for iOS 14 devices, Ivanti recommends using the Extensible Single Sign-On configuration described in Avoiding pasteboard notifications in iOS 16.

To avoid pasteboard notifications on users' devices when using AppConnect apps, set up an App Group for your AppConnect apps and update the app's Info.plist. App Groups are an iOS mechanism to share data between apps. Setting up an App Group also reduces the amount of switching between the AppConnect app and the Ivanti client. The following is an overview of the setup needed to avoid pasteboard notifications.

Procedure

  1. In the Apple Developer portal,

    1. Create an App Group.

    2. Add the App Group to your AppConnect app's App ID.

    3. Update and download the Provisioning Profile.

  2. Update the app to use the new Provisioning Profile.

  3. Configure App Group capability and App Group for the app in Xcode.

    Ensure that the app group name configured in Xcode matches the App Group name that you configured in the Apple Developer Portal.

  4. Add the App Group to the app's Info.plist.

For detailed instructions for each step, see the links in the following related topics.

The feature is available if the components are at the following version through the latest as supported by Ivanti:

  • The AppConnect app uses AppConnect 4.7.0 SDK.
  • The iOS device uses iOS 14.
  • The Ivanti client is one of the following
    • Go 5.5.1
    • Mobile@Work 12.4.1

AppConnect apps continue to use the pasteboard if an App Group, as described in this section, is not set up.

Configuring an App Group on the Apple Developer portal

You create an App Group, add it to your AppConnect 's App ID, and save and download the updated Provisioning Profile for your app on the Apple Developer portal.

Procedure 

  1. On the Apple Developer portal, go to Certificates, Identifiers & Profiles > Identifiers.

  2. Select App Groups, and create an App Group.

    When you create an App Group, you add a name and an Identifier for the App Group. The name can be anything, as long as it is unique.

  3. After you create the App Group, go to Certificates, Identifiers & Profiles > Identifiers.

  4. Select App IDs, and click the AppConnect app.

  5. Select App Groups > Configure, and select the App Group to assign to the AppConnect app.

  6. After you update the App Group for the AppConnect app, to Certificates, Identifiers & Profiles > Identifiers.

  7. Select Profiles, and click the provisioning profile for your app to edit.

  8. Click Edit > Save > Download.

  9. Double-click the Provisioning Profile in the Finder to import it into Xcode.

Add App Group to Info.plist

The App Group is created by the app developer in the Apple Developer Portal using their Apple developer account. On the Apple developer portal, create an App Group and add it to your AppConnect apps.

Add the following key-value pair in the app’s Info.plist:

  • MI_APP_CONNECT

    This key is the root key, and its value is a dictionary of key-value pairs

  • MI_AC_ACCESS_GROUP

    This key provides the App Group Identifier that the AppConnect library uses to access the app's shared container. The value is the app’s App Group Identifier.

    Example  

    In the example, group.com.thirdparty.enterprise.ios.appconnect is the App Group Identifier.