ServerEnvironment

public enum ServerEnvironment : Equatable

This enum defines available Donkey Republic server environments.

The server environment is used for SDK Token verification and for tracking lock and unlock events for locks. The currently used environment can be adjusted by setting an appropriate value in LockKitConfiguration.environment.

  • Production environment, where actual Donkey vehicles available for rent are registered.

    Declaration

    Swift

    case live
  • Test environment, useful for testing and validating the implementation, or for debugging issues.

    Declaration

    Swift

    case test