Testing app-specific configuration handling
To test app-specific configuration handling, use Core. If you are an in-house app developer and your enterprise uses Core or Connected Cloud, you can use that Core. Otherwise, request a Connected Cloud instance for your testing. Connected Cloud is the cloud offering of the on-premise server Core. You then use a web portal called the Admin Portal to make configuration changes necessary for testing your app. All AppConnect apps require Mobile@Work on the device to interact with Core.
IMPORTANT: You must wrap your app before testing it with Core.
Apps that you test on Mobile@Work will also work with Ivanti Neurons for MDM and supported versions of Go. However, some AppConnect features are not supported by Ivanti Neurons for MDM and Go.
The steps for testing app-specific configuration handling in your app are:
- Requesting a Core test instance
- Downloading Mobile@Work to the device
- Logging in to the Admin Portal
- Creating a label for testing your app
- Enabling AppConnect on Core
- Configuring the AppConnect global policy
- Uploading the Secure Apps Manager to Core
- Uploading your AppConnect app to Core
- Configuring app-specific settings in Core
- Registering the test device to Core
- Pushing Core configuration changes to the device
Requesting a Core test instance
To request a Core test instance if one is not available to you, go to Request and Setup a Test Instance: Core / Ivanti Neurons for MDM / Sentry.
Downloading Mobile@Work to the device
Download Mobile@Work to the device from Google Play.
Logging in to the Admin Portal
If you requested an Ivanti
-
the URL for accessing the Core’s Admin Portal
The Admin Portal is a web portal for configuring Core. The URL has the format:
https://m.mobileiron.net/<app partner name>
-
a user ID and password for accessing the Admin Portal
You also use this user ID to register a device with Core.
-
a port number for Core, used when you register a device with Core.
The port number is typically four or five digits.
If you are using your enterprise's Core or Connected Cloud, get the URL, user ID and password, and port number from your Core administrators. They might give you a separate user ID and password to use to register a device.
Procedure
-
Open a browser to the URL for accessing the Core’s Admin Portal.
Use the URL of your test Core, appended with /mifs.
Connected Cloud example:
https://m.mobileiron.net/myCompany/mifs
On-premise Core example:
https://mycore.mycompany.com/mifs
-
Enter your Username and Password.
-
Click Sign In.
You are now in the Admin Portal.
When using a test instance from Ivanti, change your password when prompted.
Creating a label for testing your app
Core uses labels to associate policies and apps with devices. For testing your app, create a new label so that your testing impacts only your test device.
Procedure
-
In the Admin Portal, go to Devices & Users > Labels.
-
Click Add Label.
-
Enter a name for the label.
For example: AppConnect Test
-
Enter a description.
For example: Use only for devices testing new AppConnect apps.
-
Select Manual for the Type.
- Click Save.
Enabling AppConnect on Core
To test your AppConnect app, ensure that AppConnect is enabled on Core.
Procedure
- In the Admin Portal, go to Settings.
- Select Additional Products > Licensed Products.
- Select AppConnect For Third-party And In-house Apps if it is not already selected.
- Click Save.
Configuring the AppConnect global policy
Using AppConnect for Android requires that you configure an AppConnect global policy.
Procedure
-
In the Admin Portal, select Policies & Configs > Policies.
-
Select Add New > AppConnect.
-
Set the AppConnect field to Enabled.
-
Complete the form.
Most fields default to suitable values.
-
In the Security Policies section, select Authorize for the field Apps without an AppConnect container policy.
-
Click Save.
-
Select the policy.
-
Select More Actions > Apply To Label.
-
Select the label to which you want to apply this policy.
-
Click Apply.
Uploading the Secure Apps Manager to Core
The Secure Apps Manager is required for running AppConnect apps. You upload the Secure Apps Manager to Core as an in-house app. After uploading the Secure Apps Manager, you distribute it to your test device by applying the app to the label for your test device.
Procedure
- Download the Secure Apps Manager app to your computer from Ivanti Getting Started.
- In the Core Admin Portal, go to Apps > App Catalog > Add+ > In-House.
- Click Browse and browse to the Secure Apps Manager.
- Click Next.
- Optionally make selections, clicking Next, and then Finish.
- Select the Secure Apps Manager entry on the Apps > Apps Catalog screen.
- Click Actions > Apply to Labels.
- Select the appropriate label and click Apply.
Uploading your AppConnect app to Core
You upload your Android AppConnect app to Core as an in-house app. After uploading the app, you distribute the app to your test device by applying the app to the label for your test device.
IMPORTANT: Wrap your app before uploading it to Core.
Procedure
- In the Core Admin Portal, go to Apps > App Catalog > Add+ > In-House.
- Click Browse and browse to the AppConnect app.
- Click Next.
- Optionally make selections, clicking Next, and then Finish.
- Select the app entry on the Apps > Apps Catalog screen.
- Click Actions > Apply to Labels.
- Select the appropriate label and click Apply.
Configuring app-specific settings in Core
Using an AppConnect app configuration, you can configure settings that are specific to your AppConnect app. The configuration uses key-value pairs.
Core automatically creates an AppConnect app configuration for the Android AppConnect app when you upload the wrapped app to the App Catalog. Core keeps in sync the labels that you apply to the app and the labels that you apply to the automatically-created AppConnect app configuration.
Procedure
- In the Admin Portal, select Policy & Configs > Configurations.
- Select the automatically-created AppConnect app configuration for the app.
- Click Edit.
- To add a key-value pair:
- Click Add+.
- Enter the key name.
- Enter the key value.
- Click Save.
Registering the test device to Core
To run your AppConnect app, you must first launch Mobile@Work and follow its instructions to register with Core. This procedure will install the Secure Apps Manager and your app on the device.
After you complete the registration procedure, you can run your AppConnect app and test its handling of the app-specific configuration you configured on Core.
Pushing Core configuration changes to the device
If you change configuration on Core, such as your app-specific key-value pairs, you can make Core send the changes to the device immediately.
Procedure
- Open Mobile@Work.
- Navigate to the Device Status screen if not already there.
- Tap the refresh icon in the upper right-hand corner.
-
This action causes the Mobile@Work to check in with Core, which causes Core to deliver any configuration changes to the device.