Version

Preparing the Deployment Package

There are several requirements that need to be ready to follow this deployment method. Most of these components need configuration (XML manifest, download page, SharePlus IPA). The application icons are, however, simple resources to be included.

SharePlus IPA file

SharePlus in-house iOS application that will be provided by Infragistics in .ipa file format.

Application Icons

Two icons are needed for your application, a small icon and a large one. The icons used here should be the ones used for application rebranding which, normally, are provided by a Visual Designer.

PNG Icon

Size

Description

Small

57 x 57 px

Image displayed during download and installation.

Large

512 x 512 px

Image displayed in iTunes.

Fully qualified URLs must be specified for the images.

XML manifest file

The manifest file is an XML plist format file. It is used by iOS devices to find, download, and install applications from your web server. It contains a set of attributes required by the device to correctly install the application. Assets (app package and images) and metadata (bundle identifier and title) must be correctly configured using any XML editor. The application’s bundle identifier value must be included in the XML manifest to identify SharePlus application in the device.

Getting the Application’s Bundle Identifier

This value identifies your application within the device, e.g., com.yourcompany.appname. The application’s bundle identifier to be used must match the value set on your Provisioning Profile. You can get the application’s bundle identifier from three different places:

  • iOS Provisioning Portal

  • Provisioning Profile file

  • IPA file

Below there is a quick guide on how to get the bundle identifier through any of these methods.

From iOS Provisioning Portal

  1. Login to the iOS Provisioning Portal.

  2. Go to App IDs on the left pane.

  3. Look for the application’s ID and click configure.

  4. The ID will be presented on a frame like the following:

Bundle-Identifier-Provisioning-Portal.png

From Provisioning Profile file

  1. Open the Distribution Provisioning Profile (.mobileprovision) used to sign the build in any text editor (e.g., TextEdit).

  2. Search for the Entitlements key.

  3. Search for the application-identifier key within the Entitlements key.

  4. Copy the value within this key without the first part, e.g.: com.yourcompany.appname.

Code included in the XML manifest file should be similar to the one below:

<dict>
    <key>items</key>
    <array>
    <dict>
        <key>assets</key>
        <array>
            <dict>
            <key>kind</key>
            <string>software-package</string>
            <key>URL</key>
            <string>http://<portal>/yourfolder/app.ipa</string>
        </dict>
        <dict>
            <key>kind</key>
            <string>full-size-image</string>
            <key>needs-shine</key>
            <true/>
            <key>url</key>
            <string>http://<portal>/largeImage.png</string>
        </dict>
        <dict>
            <key>kind</key>
            <string>display-image</string>
            <key>needs-shine</key>
            <true/>
            <key>url</key>
            <string>http://<portal>/smallImage.png</string>
        </dict>
        </array>
            <key>metadata</key>
            <dict>
            <key>bundle-identifier</key>
            <string>com.yourcompany.appname</string>
            <key>kind</key>
            <string>software</string>
            <key>title</key>
            <string>appname</string>
        </dict>
    </dict>
</dict>
  • url (software-package) – URL to SharePlus IPA file.

  • url (full-size-image, display-image) – URL to image resources (large and small application icons).

  • bundle-identifier* – Application’s Bundle Identifier, the value that identifies your application within the device.

  • title – The application’s name, the last part of the bundle identifier.

Download Page

To distribute SharePlus application, a simple web page with a download button must be created. This download page will be opened from a user’s device to install the application. The download button must include a link URL with a specific prefix and the location of the manifest.plist file.

To install the application, OTA deployment uses URL schemas . In this case, you need the following prefix: “itms-services://?action=download-manifest&url=“. The URL to the manifest.plist is also needed at the end of the distribution link, as shown in the example below:

itms-services://?action=download-manifest&url=https://<portal>/manifest.plist

iOS 9 untrusted sources verification

Starting in iOS 9, Apple introduced a new feature to help protect users from installing in-house apps from untrusted sources. Only in-house apps installed using an MDM solution are explicitly trusted and will no longer prompt the user to trust the developer that signed and provisioned them. All applications installed for the first time without an MDM will be prompted to trust the developer.

Untrusted-Source.png

To install SharePlus, you will need to:

  1. Go to the iPad Settings, then tap “General” and “Profiles”.

    General-Profiles-iOS.png
  1. Under “Enterprise App”, tap the name of the profile that matches your app.

    Profile-Enterprise-App.png
  1. Tap ‘Trust’ “Company name”.

    Trust-Message-iOS.png

Once the users tap “Trust”, the app can be opened and used; this should be a one-time process. Once your provisioning profile is trusted in that device, all subsequent installations or updates of apps signed with the same profile should go through without issues.