Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDM] Create a simple MDM/AppConfig/specfile.xml #272

Merged
merged 7 commits into from
Feb 28, 2019

Conversation

mneuwert
Copy link
Contributor

@mneuwert mneuwert commented Feb 11, 2019

Description

App-Config contains only following options:

  • single-account: false/true
  • fixed (default) server URL

Related Issue

#236

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

App-Config contains only following options:
- single-account: false/true
- fixed server URL
@mneuwert mneuwert self-assigned this Feb 11, 2019
@mneuwert mneuwert added p2-high Escalation, on top of current planning, release blocker feature:MDM all kind of MDM / EMM related features labels Feb 11, 2019
@michaelstingl
Copy link
Contributor

@mneuwert could you add some quick notes how to use this with MDM tools? (MobileIron for example)

@mneuwert
Copy link
Contributor Author

@michaelstingl please check if the README is fine for you?

### AppConfig XML Schema
The XML format developed by AppConfig community, makes it easy for developers to define and deploy app configuration. It is not only defining the configuration variables with default value but also provides a configuration UI description which can be interpreted by the tool which generates a plist file. Moreover, specfile XML is consistently supported by major EMM vendors.

### Example: Deployment with Mobile Iron
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Example: Deployment with Mobile Iron
### Example: Deployment with MobileIron

2. Upload a specfile.xml
3. Change configuration options
4. Download generated plist file (ManagedAppConfig)
5. Open Mobile Iron Core
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
5. Open Mobile Iron Core
5. Open MobileIron Core

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelstingl fixed as suggested

Copy link
Contributor

@michaelstingl michaelstingl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mneuwert
Copy link
Contributor Author

@felix-schwarz may be you could also review and provide feedback to finalise this?

@hosy hosy self-requested a review February 19, 2019 09:37
## AppConfig how to

### Managed App Config
Starting with iOS7, Apple has added support for managed application configuration. MDM server can push configuration to the app. The app can the access the configuration using NSUserDefaults class. The configuration is basically a key-value dictionary provided as .plist file.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo:
Remove the before access

The app can access the configuration using NSUserDefaults class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hosy Thanks for pointing out. Fixed.

Starting with iOS7, Apple has added support for managed application configuration. MDM server can push configuration to the app. The app can the access the configuration using NSUserDefaults class. The configuration is basically a key-value dictionary provided as .plist file.

### AppConfig XML Schema
The XML format developed by AppConfig community, makes it easy for developers to define and deploy app configuration. It is not only defining the configuration variables with default value but also provides a configuration UI description which can be interpreted by the tool which generates a plist file. Moreover, specfile XML is consistently supported by major EMM vendors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but maybe it should be like this:

The XML format developed by AppConfig community, makes it easy for developers to define and deploy an app configuration. It is not only defining the configuration variables with default values but also provides a configuration UI description which can be interpreted by the tool which generates a plist file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hosy Fixed.

@michaelstingl michaelstingl merged commit ece7f1c into master Feb 28, 2019
@delete-merged-branch delete-merged-branch bot deleted the feature/min_mdm_specfile branch February 28, 2019 13:59
@jesmrec jesmrec mentioned this pull request Mar 5, 2019
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:MDM all kind of MDM / EMM related features p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants