A zip file containing an app and information for signing it outside the policy console. This zip file includes:
- The secured app
- Signing settings
- A sign.sh script to sign the app
Download a secured iOS (.ipa) or Android (.apk) app with all information required to sign it. To use this API, first secure the app with POST app-market/policy using signing_type SIGN_EXTERNALLY.
Use the GUID for the app to export the app with the same signing settings used the last time the app was secured.
To get the GUIDs for all apps in the system, use GET app-market/catalog ; use the value of app_id within the app structure.
This example extracts all required signing settings, and downloads the information into a binary exported-app.zip file:
curl -L -b c.txt -c c.txt \ -X POST https://bc.qwe.com:443/mocana-app-control/rest/app-market/export-for-codesigning -F appId=94c37df7-g996-5fd8-9598-b4ec62f35545 \ -o exported-app.zip