Reputation: 1419
I am unable to read app configuration policy key/value set up . Below are the steps
A copy of the source project with the issue is available at
https://github.com/franferns/intune-app
Integrating the intune sdk creating a folder in the app folder with MAMSDK with
Making changes to the root build.gradle file
Making changes to app/build.gradle file adding reference to the sdk aar file
and the settings.gradle file.
And then the code for accessing the config from the
The app configuration policy configured is as follows
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.
A copy of the source project with the issue is available at
https://github.com/franferns/intune-app
Upvotes: 2
Views: 182