Environment

public enum Environment : Codable

Server environment used by SDK internal API routing. serverUrl is a base URL to access SkyPath service. Use nil to use the default domain (see each case details).

You can use a proxy server to avoid whitelisting a SkyPath domain. It should forward all HTTPS network traffic for api.skypath.io with a wildcard * for a path. docs.skypath.io describes APIs to get data only as it’s not possible to send recorded data outside of SDK. SDK will use other not documented API endpoints, so whitelisting only those or any other fixed endpoints paths list is not sufficient.

  • The development server environment. By default it is https://dev-api.skypath.io.

    Declaration

    Swift

    case dev(serverUrl: String?)
  • The staging server environment. By default it is https://staging-api.skypath.io.

    Declaration

    Swift

    case staging(serverUrl: String?)
  • The production server environment. By default it is https://api.skypath.io.

    Declaration

    Swift

    case prod(serverUrl: String?)