feat: Add base64 export for MDM deployment (Android Managed Configurations)#193
Draft
feat: Add base64 export for MDM deployment (Android Managed Configurations)#193
Conversation
- Add UI section for MDM deployment with base64 textarea - Implement base64 encoding of data packages - Add copy to clipboard and show/hide toggle functionality - Update help documentation with MDM deployment instructions - Add CSS styling for MDM section - Add tests for MDM functionality - All tests passing, lint clean Co-authored-by: joshuafuller <6954640+joshuafuller@users.noreply.github.com>
…setting Co-authored-by: joshuafuller <6954640+joshuafuller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add base64 export for MDM deployment configurations
feat: Add base64 export for MDM deployment (Android Managed Configurations)
Nov 1, 2025
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.
ATAK v5.0+ supports Android Managed Configurations via the
enterpriseConfigurationDataPackagerestriction key, which accepts base64-encoded data package ZIP files. Currently, administrators must manually download, encode (base64 -w 0), and copy the output. This adds automatic base64 encoding to the Data Package Builder workflow.Changes
UI
Implementation
generateBase64ForMDM()processes ZIP blob in 32KB chunks to avoid call stack overflowwindow.btoa()for encodingDocumentation
enterpriseConfigurationDataPackagefieldScreenshots
After building a package:
Example Usage
Eliminates manual encode step—administrators copy directly from UI into MDM console.
Original prompt
This section details on the original issue you should resolve
<issue_title>feat: Add base64 export for MDM deployment (Android Managed Configurations)</issue_title>
<issue_description>## Feature Request
Add the ability to display and copy the base64-encoded string of generated data packages for use with Mobile Device Management (MDM) systems.
Background
Since ATAK v5.0, ATAK supports Android Managed Configurations which enable administrators to push ATAK configuration from MDM systems to managed devices. This eliminates the need to manually load data package ZIP files onto every device.
How It Works
ATAK supports the
enterpriseConfigurationDataPackagerestriction key, which accepts a base64-encoded data package ZIP file. When pushed through an MDM:enterpriseConfigurationDataPackagefield with base64-encoded data packageCurrent Manual Process
Currently, administrators must:
cat package.zip | base64 -w 0 > encoded.txtProposed Solution
Add a "Show Base64 String" button/field to the Data Package Builder that:
UI Mockup
Implementation Notes
btoa()or FileReader API to encode ZIP blob<textarea readonly>or<pre>elementBenefits
References
enterpriseConfigurationDataPackage(string type)Related
Acceptance Criteria
Comments on the Issue (you are @copilot in this section)
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.