Contents of the Intent objects in legacy configuration handling

The following table shows the contents that you work with in each Intent object:

Table 12.   Contents of each Intent object

Intent object

Other data in an Intent object with this action

Intent object with the action:

"com.mobileiron.REQUEST_CONFIG"

your app’s package name, in extended data named "packageName".

The extended data has a string value that is the name of your app’s package.

Intent object with the action:

"com.mobileiron.HANDLE_CONFIG"

a Bundle object, in extended data named "config".

The Bundle object contains the key-value pairs of the configuration.

an Intent object to send to the Ivanti client app after successfully processing the key-value pairs.

This Intent object is in extended data named "configAppliedIntent"

an Intent object to send to the Ivanti client app after failing to process the key-value pairs.

This Intent object is in extended data named "configErrorIntent".

Intent object in extended data named:

"configAppliedIntent"

in the Intent object with the action "com.mobileiron.HANDLE_CONFIG".

Your app does not add any further data to this Intent object.

Intent object in extended data named:

"configErrorIntent"

in the Intent object with the action "com.mobileiron.HANDLE_CONFIG".

an error string, in extended data named "errorString".

The string describes the error that occurred when your app failed to process the key-value pairs.