Skip to main content
Skip table of contents

settings/signing-type/{platform}

The default signing type for apps on the specified platform (iOS or Android)

Resource-wide template parameter

ParameterDescription
platform

Options:

  • ios
  • android

GET

Returns the default signing type for the specified platform.

Example request

Request

CODE
curl -v -L -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/settings/signing-type/ios

Response

CODE
{

  "message": "",
  "settings": [{
    "code": "OPT_CODE_SIGNING_TYPE_IOS",
    "string_data": "SIGN_ON_CONSOLE"
  }],
  "status": "OK"
}

POST

Parameters

ParameterDescription
signing-type

Type of code signing to use for this platform, unless another signing-type is specified with app-market/policy.

  • SIGN_ON_CONSOLE: Code sign the app when securing with app-market/policy.
  • SIGN_EXTERNALLY: Code sign the app externally. Use app-market/export-for-codesigning to download a zip file that includes the app, signing settings, and a signing script.
  • SKIP_CODESIGN: Skip code signing.

Example request

Request

CODE
curl -v -L -b c.txt -c c.txt -X POST http://bc.qwe.com/mocana-app-control/rest/settings/signing-type/ios \
 -d signing_type="SIGN_ON_CONSOLE"
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.