react-native-adapty - v3.15.2
Preparing search index...
getErrorCode
Function getErrorCode
getErrorCode
(
error
:
|
"unknown"
|
"clientInvalid"
|
"paymentInvalid"
|
"paymentNotAllowed"
|
"storeProductNotAvailable"
|
"cloudServicePermissionDenied"
|
"cloudServiceNetworkConnectionFailed"
|
"cloudServiceRevoked"
|
"privacyAcknowledgementRequired"
|
"unauthorizedRequestData"
|
"invalidOfferIdentifier"
|
"invalidSignature"
|
"missingOfferParams"
|
"invalidOfferPrice"
|
"adaptyNotInitialized"
|
"productNotFound"
|
"currentSubscriptionToUpdateNotFoundInHistory"
|
"billingServiceTimeout"
|
"featureNotSupported"
|
"billingServiceDisconnected"
|
"billingServiceUnavailable"
|
"billingUnavailable"
|
"developerError"
|
"billingError"
|
"itemAlreadyOwned"
|
"itemNotOwned"
|
"billingNetworkError"
|
"noProductIDsFound"
|
"productRequestFailed"
|
"cantMakePayments"
|
"noPurchasesToRestore"
|
"cantReadReceipt"
|
"productPurchaseFailed"
|
"refreshReceiptFailed"
|
"receiveRestoredTransactionsFailed"
|
"notActivated"
|
"badRequest"
|
"serverError"
|
"networkFailed"
|
"decodingFailed"
|
"encodingFailed"
|
"analyticsDisabled"
|
"wrongParam"
|
"activateOnceError"
|
"profileWasChanged"
|
"unsupportedData"
|
"persistingDataError"
|
"fetchTimeoutError"
|
"operationInterrupted"
,
)
:
|
undefined
|
0
|
1
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
20
|
22
|
24
|
97
|
98
|
99
|
102
|
103
|
105
|
106
|
107
|
108
|
112
|
1000
|
1002
|
1003
|
1004
|
1005
|
1006
|
1010
|
1011
|
2002
|
2003
|
2004
|
2005
|
2006
|
2009
|
3000
|
3001
|
3005
|
3006
|
3007
|
3100
|
3101
|
9000
Parameters
error
:
|
"unknown"
|
"clientInvalid"
|
"paymentInvalid"
|
"paymentNotAllowed"
|
"storeProductNotAvailable"
|
"cloudServicePermissionDenied"
|
"cloudServiceNetworkConnectionFailed"
|
"cloudServiceRevoked"
|
"privacyAcknowledgementRequired"
|
"unauthorizedRequestData"
|
"invalidOfferIdentifier"
|
"invalidSignature"
|
"missingOfferParams"
|
"invalidOfferPrice"
|
"adaptyNotInitialized"
|
"productNotFound"
|
"currentSubscriptionToUpdateNotFoundInHistory"
|
"billingServiceTimeout"
|
"featureNotSupported"
|
"billingServiceDisconnected"
|
"billingServiceUnavailable"
|
"billingUnavailable"
|
"developerError"
|
"billingError"
|
"itemAlreadyOwned"
|
"itemNotOwned"
|
"billingNetworkError"
|
"noProductIDsFound"
|
"productRequestFailed"
|
"cantMakePayments"
|
"noPurchasesToRestore"
|
"cantReadReceipt"
|
"productPurchaseFailed"
|
"refreshReceiptFailed"
|
"receiveRestoredTransactionsFailed"
|
"notActivated"
|
"badRequest"
|
"serverError"
|
"networkFailed"
|
"decodingFailed"
|
"encodingFailed"
|
"analyticsDisabled"
|
"wrongParam"
|
"activateOnceError"
|
"profileWasChanged"
|
"unsupportedData"
|
"persistingDataError"
|
"fetchTimeoutError"
|
"operationInterrupted"
Returns
|
undefined
|
0
|
1
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
20
|
22
|
24
|
97
|
98
|
99
|
102
|
103
|
105
|
106
|
107
|
108
|
112
|
1000
|
1002
|
1003
|
1004
|
1005
|
1006
|
1010
|
1011
|
2002
|
2003
|
2004
|
2005
|
2006
|
2009
|
3000
|
3001
|
3005
|
3006
|
3007
|
3100
|
3101
|
9000
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
react-native-adapty - v3.15.2
Loading...