Test AppConnect configuration change handling
AppConnect app configuration on Ivanti EPMM specifies key-value pairs for configuring your app. You add, and edit, key-value pairs using the Admin Portal.
By changing the AppConnect app configuration, you can test your app’s -appConnect:configChangedTo: method in the AppDelegateProtocol.
If your app includes an AppConnect.plist, and you uploaded your app to Ivanti EPMM, Ivanti EPMM already has created a default AppConnect app configuration. Go to Update the AppConnect app configuration.
If your app does not include an AppConnect.plist, create an AppConnect app configuration.
Create an AppConnect app configuration
|
1.
|
In the Admin Portal, select Policies & Configs > Configurations. |
|
2.
|
Select Add New > AppConnect > App Configuration. |
|
3.
|
Enter a name for the AppConnect app configuration. |
For example: My App’s App Configuration
|
4.
|
In the Application field, enter the bundle ID of your app. |
For example: com.MyCompany.MySecureApp
|
5.
|
In the App-specific Configurations section, click Add+ to add a key-value pair. |
|
6.
|
Enter the key-value pairs: |
|
9.
|
Select the new AppConnect app configuration. |
|
10.
|
Select Actions > Apply To Label. |
Push the change to your device immediately, by doing the following steps on the device:
|
3.
|
Tap Check for Updates. |
|
4.
|
Tap Force Device Check-in. |
If your app is running, it receives the notification for the new configuration. Otherwise, it receives the notification the next time it runs.
Verify that your app correctly handles the new configuration, correctly applying and using the configured options according to your app’s requirements and design.
Update the AppConnect app configuration
To update the AppConnect app configuration:
|
5.
|
Select the your app’s AppConnect app configuration. |
|
6.
|
Click Edit in the right-hand pane. |
|
7.
|
In the App-specific Configurations section, click Add+ to add a key-value pair. To delete a key-value pair, click the X on the row. |
|
10.
|
Click Yes to confirm. |
Push the change to your device immediately, by doing the following steps on the device:
|
3.
|
Tap Check for Updates. |
|
4.
|
Tap Force Device Check-in. |
If your app is running, it receives the notification for the updated configuration. Otherwise, it receives the notification the next time it runs.
Verify that your app correctly handles the updated configuration, correctly applying and using the configured options according to your app’s requirements and design.