Skip to main content

iOS

Configuration

  1. Set the HyperOTA Endpoint for OrchestratorX

    Edit HyperOTA.plist to point to your environment-specific endpoint.

    In your release config.json, ensure the HyperOTA endpoint is correctly defined.

  2. Check the OTAServices.swift file to verify that the release configuration URL is being built correctly.

let payload = [
"clientId": getHyperOTAPlist("clientId"),
"namespace": getHyperOTAPlist("namespace"),
"forceUpdate": true,
"localAssets": false,
"fileName": getHyperOTAPlist("fileName"),
"releaseConfigURL": getHyperOTAPlist(configKey) +
"/mobile-ota/ios/" + SDKVersion.current + "/config.json",
] as [String: Any]

HyperOTAServices(payload: payload,
loggerDelegate: logger,
baseBundle: Bundle(for: OTAServices.self))
note

Make sure releaseConfigURL points to the config.json for the correct SDK version and environment.

Example: $baseURL/mobile-ota/ios/${BuildConfig.VERSION_NAME}/config.json

For more information, Airborne