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

Set device_id and settings_json from MDM #6581

Open
4 tasks
lognaturel opened this issue Feb 4, 2025 · 0 comments
Open
4 tasks

Set device_id and settings_json from MDM #6581

lognaturel opened this issue Feb 4, 2025 · 0 comments

Comments

@lognaturel
Copy link
Member

Some users manage their device fleets with Microsoft Intune, TinyMDM and other mobile device management solutions.

We've had request to set the device id and full settings from MDM.

These values should be updated at app launch and any time the settings are changed on the MDM system.

For full settings, we can use a JSON string following the settings format.

  • Given that Collect is running and managed by MDM
    When I change the device_id key in my MDM system
    Then I should see that reflected next time I look at the settings or access deviceid from a form

  • Given that Collect is running and managed by MDM
    When I change the settings_json key in my MDM system and those settings are invalid
    Then nothing should happen in Collect

  • Given that Collect is running and managed by MDM
    When I change the settings_json key in my MDM system and those settings include a URL+username combination that matches an existing project
    Then that project should be updated to match the settings pushed by MDM

  • Given that Collect is running and managed by MDM
    When I change the settings_json key in my MDM system and those settings include a URL+username combination that does NOT match an existing project
    Then a new project should be created with all of the settings I pushed

Pushing new settings should not change the active project.

@seadowg seadowg moved this from inbox to not ready in ODK Collect Feb 4, 2025
@lognaturel lognaturel moved this from not ready to ready in ODK Collect Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ready
Development

No branches or pull requests

1 participant