SDKActivationError

public enum SDKActivationError : Error

Errors concerning the initialization of the sdk using Granify.activateGranify(...)

  • Thrown when attempting to intialize the SDK more than once with Granify.activateGranify(...)

    Declaration

    Swift

    case sdkAlreadyActivated
  • Thrown when using a method that requires an activated SDK but Granify.activateGranify(...) was not called initially.

    Unless otherwise noted, each SDK function requires that the SDK is activated before it may be called.

    Declaration

    Swift

    case sdkNotActivated
  • Thrown when calling Granify.activateGranify(...) and attempts to load the application’s Granify configuration failed.

    This can be a transient error, such as a network failure, so retry is recommended after a short delay.

    Since

    2.0.0

    Declaration

    Swift

    case configurationLoadFailed