Variable ErrorCodeConst

ErrorCode: Readonly<{
    0: "unknown";
    1: "clientInvalid";
    10: "unauthorizedRequestData";
    1000: "noProductIDsFound";
    1002: "productRequestFailed";
    1003: "cantMakePayments";
    1004: "noPurchasesToRestore";
    1005: "cantReadReceipt";
    1006: "productPurchaseFailed";
    1010: "refreshReceiptFailed";
    1011: "receiveRestoredTransactionsFailed";
    102: "billingServiceUnavailable";
    103: "billingUnavailable";
    105: "developerError";
    106: "billingError";
    107: "itemAlreadyOwned";
    108: "itemNotOwned";
    11: "invalidOfferIdentifier";
    112: "billingNetworkError";
    12: "invalidSignature";
    13: "missingOfferParams";
    14: "invalidOfferPrice";
    2: "paymentCancelled";
    20: "adaptyNotInitialized";
    2002: "notActivated";
    2003: "badRequest";
    2004: "serverError";
    2005: "networkFailed";
    2006: "decodingFailed";
    2009: "encodingFailed";
    22: "productNotFound";
    24: "currentSubscriptionToUpdateNotFoundInHistory";
    25: "pendingPurchase";
    3: "paymentInvalid";
    3000: "analyticsDisabled";
    3001: "wrongParam";
    3005: "activateOnceError";
    3006: "profileWasChanged";
    3007: "unsupportedData";
    3100: "persistingDataError";
    3101: "fetchTimeoutError";
    4: "paymentNotAllowed";
    5: "storeProductNotAvailable";
    6: "cloudServicePermissionDenied";
    7: "cloudServiceNetworkConnectionFailed";
    8: "cloudServiceRevoked";
    9: "privacyAcknowledgementRequired";
    9000: "operationInterrupted";
    97: "billingServiceTimeout";
    98: "featureNotSupported";
    99: "billingServiceDisconnected";
}> = ...

Type declaration

  • 0: "unknown"

    System StoreKit codes

  • 1: "clientInvalid"

    Client is not allowed to make a request, etc.

  • 10: "unauthorizedRequestData"

    The app is attempting to use SKPayment's requestData property, but does not have the appropriate entitlement.

  • 1000: "noProductIDsFound"
  • 1002: "productRequestFailed"
  • 1003: "cantMakePayments"

    In-App Purchases are not allowed on this device.

  • 1004: "noPurchasesToRestore"
  • 1005: "cantReadReceipt"
  • 1006: "productPurchaseFailed"
  • 1010: "refreshReceiptFailed"
  • 1011: "receiveRestoredTransactionsFailed"
  • 102: "billingServiceUnavailable"
  • 103: "billingUnavailable"
  • 105: "developerError"
  • 106: "billingError"
  • 107: "itemAlreadyOwned"
  • 108: "itemNotOwned"
  • 11: "invalidOfferIdentifier"

    The specified subscription offer identifier is not valid.

  • 112: "billingNetworkError"
  • 12: "invalidSignature"

    The cryptographic signature provided is not valid.

  • 13: "missingOfferParams"

    One or more parameters from SKPaymentDiscount is missing.

  • 14: "invalidOfferPrice"
  • 2: "paymentCancelled"

    User cancelled the request, etc.

  • 20: "adaptyNotInitialized"

    Custom Android codes.

  • 2002: "notActivated"

    You need to be authenticated to perform requests.

  • 2003: "badRequest"
  • 2004: "serverError"
  • 2005: "networkFailed"
  • 2006: "decodingFailed"
  • 2009: "encodingFailed"
  • 22: "productNotFound"
  • 24: "currentSubscriptionToUpdateNotFoundInHistory"
  • 25: "pendingPurchase"
  • 3: "paymentInvalid"

    Invalid purchase identifier, etc.

  • 3000: "analyticsDisabled"
  • 3001: "wrongParam"

    Wrong parameter was passed.

  • 3005: "activateOnceError"

    It is not possible to call .activate method more than once.

  • 3006: "profileWasChanged"

    The user profile was changed during the operation.

  • 3007: "unsupportedData"
  • 3100: "persistingDataError"
  • 3101: "fetchTimeoutError"
  • 4: "paymentNotAllowed"

    This device is not allowed to make the payment.

  • 5: "storeProductNotAvailable"

    Product is not available in the current storefront.

  • 6: "cloudServicePermissionDenied"

    User has not allowed access to cloud service information.

  • 7: "cloudServiceNetworkConnectionFailed"

    The device could not connect to the network.

  • 8: "cloudServiceRevoked"

    User has revoked permission to use this cloud service.

  • 9: "privacyAcknowledgementRequired"

    The user needs to acknowledge Apple's privacy policy.

  • 9000: "operationInterrupted"
  • 97: "billingServiceTimeout"
  • 98: "featureNotSupported"
  • 99: "billingServiceDisconnected"

Generated using TypeDoc