Interface IapticLocale

List of keys a locale must provide.

const myLocale: IapticLocale = {
ProgrammingError: 'No pa bon',
...
};

IapticRN.addLocale('xx_yy', myLocale);
interface IapticLocale {
    ActiveSubscription_ManageBilling: string;
    ActiveSubscription_ManageSubscriptions: string;
    ActiveSubscription_Status_Active: string;
    ActiveSubscription_Status_Expired: string;
    ActiveSubscription_Tag_Retry: string;
    ActiveSubscription_Tag_Trial: string;
    ActiveSubscription_WillCancel: string;
    ActiveSubscription_WillRenew: string;
    BillingCycle_Finite: string;
    BillingCycle_Infinite: string;
    BillingCycle_NonRecurring: string;
    DateFormatter_Date: string;
    DateFormatter_Time: string;
    Duration_D_plural: string;
    Duration_D_singular: string;
    Duration_M_plural: string;
    Duration_M_singular: string;
    Duration_W_plural: string;
    Duration_W_singular: string;
    Duration_Y_plural: string;
    Duration_Y_singular: string;
    EntitlementGrid_Checkmark: string;
    Error: string;
    IapticError_6777001: string;
    IapticError_6777002: string;
    IapticError_6777003: string;
    IapticError_6777004: string;
    IapticError_6777005: string;
    IapticError_6777006: string;
    IapticError_6777007: string;
    IapticError_6777008: string;
    IapticError_6777010: string;
    IapticError_6777011: string;
    IapticError_6777012: string;
    IapticError_6777013: string;
    IapticError_6777014: string;
    IapticError_6777015: string;
    IapticError_6777016: string;
    IapticError_6777017: string;
    IapticError_6777018: string;
    IapticError_6777019: string;
    IapticError_6777020: string;
    IapticError_6777021: string;
    IapticError_6777022: string;
    IapticError_6777023: string;
    IapticError_6777024: string;
    IapticError_6777025: string;
    IapticError_6777026: string;
    IapticError_6777027: string;
    IapticError_6777028: string;
    IapticError_6777029: string;
    IapticError_6777030: string;
    IapticError_6777031: string;
    IapticError_6777032: string;
    IapticError_6778003: string;
    IapticError_StoreAlreadyInitialized: string;
    IapticError_StoreNotInitialized: string;
    IapticError_UnsupportedPlatform: string;
    IapticRN_initialized_called: string;
    ProductPrice_StartingAt: string;
    ProgrammingError: string;
    PurchaseError_E_ALREADY_OWNED: string;
    PurchaseError_E_BILLING_RESPONSE_JSON_PARSE_ERROR: string;
    PurchaseError_E_DEFERRED_PAYMENT: string;
    PurchaseError_E_DEVELOPER_ERROR: string;
    PurchaseError_E_IAP_NOT_AVAILABLE: string;
    PurchaseError_E_INTERRUPTED: string;
    PurchaseError_E_ITEM_UNAVAILABLE: string;
    PurchaseError_E_NETWORK_ERROR: string;
    PurchaseError_E_NOT_ENDED: string;
    PurchaseError_E_NOT_PREPARED: string;
    PurchaseError_E_RECEIPT_FAILED: string;
    PurchaseError_E_RECEIPT_FINISHED_FAILED: string;
    PurchaseError_E_REMOTE_ERROR: string;
    PurchaseError_E_SERVICE_ERROR: string;
    PurchaseError_E_UNKNOWN: string;
    PurchaseError_E_USER_CANCELLED: string;
    PurchaseError_E_USER_ERROR: string;
    PurchaseError_title: string;
    SubscriptionView_Back: string;
    SubscriptionView_BillingOptions: string;
    SubscriptionView_Cancel: string;
    SubscriptionView_ChangePlan: string;
    SubscriptionView_Close: string;
    SubscriptionView_Continue: string;
    SubscriptionView_CurrentPlan: string;
    SubscriptionView_CurrentSubscription: string;
    SubscriptionView_Includes: string;
    SubscriptionView_PleaseWait: string;
    SubscriptionView_Processing: string;
    SubscriptionView_ProcessingStatus_cancelled: string;
    SubscriptionView_ProcessingStatus_completed: string;
    SubscriptionView_ProcessingStatus_finishing: string;
    SubscriptionView_ProcessingStatus_processing: string;
    SubscriptionView_ProcessingStatus_purchasing: string;
    SubscriptionView_ProcessingStatus_validating: string;
    SubscriptionView_ProcessingTitle: string;
    SubscriptionView_RestoreProgress: string;
    SubscriptionView_RestorePurchase: string;
    SubscriptionView_RestoringTitle: string;
    SubscriptionView_TermsLink: string;
    SubscriptionView_TermsPrefix: string;
    SubscriptionView_Title: string;
    SubscriptionView_UpdatePlan: string;
    UnknownError: string;
    UnknownError_title: string;
    ValidationError: string;
    ValidationError_MissingTransactionId: string;
}

Properties

ActiveSubscription_ManageBilling ActiveSubscription_ManageSubscriptions ActiveSubscription_Status_Active ActiveSubscription_Status_Expired ActiveSubscription_Tag_Retry ActiveSubscription_Tag_Trial ActiveSubscription_WillCancel ActiveSubscription_WillRenew BillingCycle_Finite BillingCycle_Infinite BillingCycle_NonRecurring DateFormatter_Date DateFormatter_Time Duration_D_plural Duration_D_singular Duration_M_plural Duration_M_singular Duration_W_plural Duration_W_singular Duration_Y_plural Duration_Y_singular EntitlementGrid_Checkmark Error IapticError_6777001 IapticError_6777002 IapticError_6777003 IapticError_6777004 IapticError_6777005 IapticError_6777006 IapticError_6777007 IapticError_6777008 IapticError_6777010 IapticError_6777011 IapticError_6777012 IapticError_6777013 IapticError_6777014 IapticError_6777015 IapticError_6777016 IapticError_6777017 IapticError_6777018 IapticError_6777019 IapticError_6777020 IapticError_6777021 IapticError_6777022 IapticError_6777023 IapticError_6777024 IapticError_6777025 IapticError_6777026 IapticError_6777027 IapticError_6777028 IapticError_6777029 IapticError_6777030 IapticError_6777031 IapticError_6777032 IapticError_6778003 IapticError_StoreAlreadyInitialized IapticError_StoreNotInitialized IapticError_UnsupportedPlatform IapticRN_initialized_called ProductPrice_StartingAt ProgrammingError PurchaseError_E_ALREADY_OWNED PurchaseError_E_BILLING_RESPONSE_JSON_PARSE_ERROR PurchaseError_E_DEFERRED_PAYMENT PurchaseError_E_DEVELOPER_ERROR PurchaseError_E_IAP_NOT_AVAILABLE PurchaseError_E_INTERRUPTED PurchaseError_E_ITEM_UNAVAILABLE PurchaseError_E_NETWORK_ERROR PurchaseError_E_NOT_ENDED PurchaseError_E_NOT_PREPARED PurchaseError_E_RECEIPT_FAILED PurchaseError_E_RECEIPT_FINISHED_FAILED PurchaseError_E_REMOTE_ERROR PurchaseError_E_SERVICE_ERROR PurchaseError_E_UNKNOWN PurchaseError_E_USER_CANCELLED PurchaseError_E_USER_ERROR PurchaseError_title SubscriptionView_Back SubscriptionView_BillingOptions SubscriptionView_Cancel SubscriptionView_ChangePlan SubscriptionView_Close SubscriptionView_Continue SubscriptionView_CurrentPlan SubscriptionView_CurrentSubscription SubscriptionView_Includes SubscriptionView_PleaseWait SubscriptionView_Processing SubscriptionView_ProcessingStatus_cancelled SubscriptionView_ProcessingStatus_completed SubscriptionView_ProcessingStatus_finishing SubscriptionView_ProcessingStatus_processing SubscriptionView_ProcessingStatus_purchasing SubscriptionView_ProcessingStatus_validating SubscriptionView_ProcessingTitle SubscriptionView_RestoreProgress SubscriptionView_RestorePurchase SubscriptionView_RestoringTitle SubscriptionView_TermsLink SubscriptionView_TermsPrefix SubscriptionView_Title SubscriptionView_UpdatePlan UnknownError UnknownError_title ValidationError ValidationError_MissingTransactionId

Properties

ActiveSubscription_ManageBilling: string

Manage Billing

ActiveSubscription_ManageSubscriptions: string

Manage Subscriptions

ActiveSubscription_Status_Active: string

Active

ActiveSubscription_Status_Expired: string

Expired

ActiveSubscription_Tag_Retry: string

Payment Retry

ActiveSubscription_Tag_Trial: string

Trial Period

ActiveSubscription_WillCancel: string

Will be cancelled on {0} at {1}

ActiveSubscription_WillRenew: string

Auto-renewing on {0} at {1}

BillingCycle_Finite: string

{cycles}x {duration}

BillingCycle_Infinite: string

every {duration}

BillingCycle_NonRecurring: string

for {duration}

DateFormatter_Date: string

"Date"

DateFormatter_Time: string

"Time"

Duration_D_plural: string

days

Duration_D_singular: string

day

Duration_M_plural: string

months

Duration_M_singular: string

month

Duration_W_plural: string

weeks

Duration_W_singular: string

week

Duration_Y_plural: string

years

Duration_Y_singular: string

year

EntitlementGrid_Checkmark: string

"✓"

Error: string

Error

IapticError_6777001: string

Failed to initialize the in-app purchase library

IapticError_6777002: string

Failed to load in-app products metadata

IapticError_6777003: string

Failed to make a purchase

IapticError_6777004: string

Failed to load the purchase receipt

IapticError_6777005: string

Client is not allowed to issue the request

IapticError_6777006: string

Purchase flow has been cancelled by user

IapticError_6777007: string

Something is suspicious about a purchase

IapticError_6777008: string

The user is not allowed to make a payment

IapticError_6777010: string

Unknown error

IapticError_6777011: string

Failed to refresh the purchase receipt

IapticError_6777012: string

The product identifier is invalid

IapticError_6777013: string

Cannot finalize a transaction or acknowledge a purchase

IapticError_6777014: string

Failed to communicate with the server

IapticError_6777015: string

Subscriptions are not available

IapticError_6777016: string

Purchase information is missing token

IapticError_6777017: string

Verification of store data failed

IapticError_6777018: string

Bad response from the server

IapticError_6777019: string

Failed to refresh the store

IapticError_6777020: string

Payment has expired

IapticError_6777021: string

Failed to download the content

IapticError_6777022: string

Failed to update a subscription

IapticError_6777023: string

The requested product is not available in the store

IapticError_6777024: string

The user has not allowed access to Cloud service information

IapticError_6777025: string

The device could not connect to the network

IapticError_6777026: string

The user has revoked permission to use this cloud service

IapticError_6777027: string

The user has not yet acknowledged Apple's privacy policy

IapticError_6777028: string

The app is attempting to use a property without required entitlement

IapticError_6777029: string

The offer identifier is invalid

IapticError_6777030: string

The price specified in App Store Connect is no longer valid

IapticError_6777031: string

The signature in a payment discount is not valid

IapticError_6777032: string

Parameters are missing in a payment discount

IapticError_6778003: string

Subscription has expired

IapticError_StoreAlreadyInitialized: string

IapticRN.store is already initialized, call IapticRN.destroy() first

IapticError_StoreNotInitialized: string

IapticRN.store is not initialized, call IapticRN.initialize() first

IapticError_UnsupportedPlatform: string

Unsupported platform

IapticRN_initialized_called: string

IapticRN.initialize() can only be called once

ProductPrice_StartingAt: string

"starting at {0} per month" - {0} will be replaced with price component

ProgrammingError: string

Programming Error

PurchaseError_E_ALREADY_OWNED: string

This item has already been purchased.

PurchaseError_E_BILLING_RESPONSE_JSON_PARSE_ERROR: string

Failed to parse the billing response.

PurchaseError_E_DEFERRED_PAYMENT: string

The payment has been deferred.

PurchaseError_E_DEVELOPER_ERROR: string

An error occurred in the application.

PurchaseError_E_IAP_NOT_AVAILABLE: string

In-app purchases are not available.

PurchaseError_E_INTERRUPTED: string

The operation was interrupted.

PurchaseError_E_ITEM_UNAVAILABLE: string

The requested product is not available.

PurchaseError_E_NETWORK_ERROR: string

A network error occurred.

PurchaseError_E_NOT_ENDED: string

The transaction has not been ended.

PurchaseError_E_NOT_PREPARED: string

The purchase cannot be completed because it has not been prepared.

PurchaseError_E_RECEIPT_FAILED: string

Failed to validate receipt.

PurchaseError_E_RECEIPT_FINISHED_FAILED: string

Failed to finish the transaction.

PurchaseError_E_REMOTE_ERROR: string

A remote error occurred.

PurchaseError_E_SERVICE_ERROR: string

The service returned an error.

PurchaseError_E_UNKNOWN: string

An unknown error occurred.

PurchaseError_E_USER_CANCELLED: string

The user cancelled the purchase.

PurchaseError_E_USER_ERROR: string

An error occurred in the application.

PurchaseError_title: string

Purchase Error #{0}

SubscriptionView_Back: string

"Back"

SubscriptionView_BillingOptions: string

"Billing Options"

SubscriptionView_Cancel: string

Cancel

SubscriptionView_ChangePlan: string

"Change Plan"

SubscriptionView_Close: string

"Close"

SubscriptionView_Continue: string

"Continue"

SubscriptionView_CurrentPlan: string

"Current Plan"

SubscriptionView_CurrentSubscription: string

"Your Subscription"

SubscriptionView_Includes: string

"Includes:"

SubscriptionView_PleaseWait: string

Please wait...

SubscriptionView_Processing: string

"Processing..."

SubscriptionView_ProcessingStatus_cancelled: string

"Cancelled"

SubscriptionView_ProcessingStatus_completed: string

Completed

SubscriptionView_ProcessingStatus_finishing: string

Finalizing purchase...

SubscriptionView_ProcessingStatus_processing: string

Processing...

SubscriptionView_ProcessingStatus_purchasing: string

Purchasing...

SubscriptionView_ProcessingStatus_validating: string

Validating receipt...

SubscriptionView_ProcessingTitle: string

Purchasing...

SubscriptionView_RestoreProgress: string

"Processed {0} of {1} purchases"

SubscriptionView_RestorePurchase: string

"Restore Purchases"

SubscriptionView_RestoringTitle: string

"Restoring..."

SubscriptionView_TermsLink: string

"Terms and Conditions"

SubscriptionView_TermsPrefix: string

"By subscribing, you agree to our"

SubscriptionView_Title: string

"Choose Your Plan"

SubscriptionView_UpdatePlan: string

"Update Plan"

UnknownError: string

An unknown error occurred.

UnknownError_title: string

Unknown Error

ValidationError: string

Receipt Validation Error

ValidationError_MissingTransactionId: string

Transaction ID is missing