Allow the app to be configured with an MDM#81
Open
AxelRieben wants to merge 2 commits into
Open
Conversation
Member
|
Why do we want to hide managed settings? |
Author
|
Thanks for your return. I see two advantages:
And if we still want to display the settings, and therefore allow the user to modify them, this leads to additional complexity. Due to the fact that we now need to know whether at startup we should take the MDM configuration or keep the user configuration. |
Member
|
Well, I'm assuming we shouldn't let them modify it if it's forced by MDM, but they can see it. |
Author
|
I tried to display the settings in a disabled way. But I haven't found a way to do it with the library used (InAppSettingsKit). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR allows you to configure the application with an MDM (Mobile Device Management). When settings are configured with MDM they are hidden in the user interface. To inform the user of the settings that are currently configured, these are displayed at startup in the "Status" screen. To respect the user's privacy, the activation or deactivation of tracking cannot be configured by MDM.
The functionality has been tested with SimpleMDM and AirWatch MDMs.
To simulate sending MDM parameters to an iOS simulator, it is possible to use this command: