user581157
user581157

Reputation: 1419

INTUNE SDK Android Unable to read App configuration , configuration key values

I am unable to read app configuration policy key/value set up . Below are the steps

Repro Steps

A copy of the source project with the issue is available at https://github.com/franferns/intune-app

  1. Integrating the intune sdk creating a folder in the app folder with MAMSDK with image

  2. Making changes to the root build.gradle file image

  3. Making changes to app/build.gradle file adding reference to the sdk aar file image

and the settings.gradle file.

image

  1. And then the code for accessing the config from the image

  2. The app configuration policy configured is as follows image

Expectation: To be able to read configured values app config policy "CustomerURL" the value returned is null . Shown as a toast message.

Observation: The code where we get an instance of the MAMAppConfig returns a object even on an non company portal device . Isnt it suppose to return null for no work profile (non company portal) related devices.

Details

A copy of the source project with the issue is available at https://github.com/franferns/intune-app

Upvotes: 2

Views: 182

Answers (0)

Related Questions