MCPcopy Create free account

hub / github.com/j3k0/cordova-plugin-purchase / functions

Functions1,331 in github.com/j3k0/cordova-plugin-purchase

↓ 1 callersFunctionsafeCall
* Run a callback inside a try/catch block. * * @param logger - Used to log errors. * @param className - Type of callback, h
www/store.js:9108
↓ 1 callersFunctionsafeCall
(logger: Logger, className: string, callback: Callback<T>, value: T, callbackName: string | undefined, reason:
src/ts/utils/safe-callback.ts:25
↓ 1 callersMethodscheduleRefreshForSubscription
* Schedule a purchase refresh for a subscription without expiration date
www/store.js:6367
↓ 1 callersMethodscheduleRefreshForSubscription
* Schedule a purchase refresh for a subscription without expiration date
src/ts/platforms/google-play/googleplay-adapter.ts:345
↓ 1 callersMethodscheduleRefreshesForSubscriptions
* Detect subscriptions that need scheduled refreshes
www/store.js:6400
↓ 1 callersMethodscheduleRefreshesForSubscriptions
* Detect subscriptions that need scheduled refreshes
src/ts/platforms/google-play/googleplay-adapter.ts:382
↓ 1 callersMethodset
* Update the receipt content * * @internal
www/store.js:9339
↓ 1 callersMethodset
* Update the receipt content * * @internal
src/ts/validator/verified-receipt.ts:86
↓ 1 callersMethodsetSupportedPlatforms
* Set the list of supported platforms. * * Called by the store when it is initialized.
www/store.js:1143
↓ 1 callersMethodsetSupportedPlatforms
* Set the list of supported platforms. * * Called by the store when it is initialized.
src/ts/internal/adapter-listener.ts:73
↓ 1 callersFunctionsetTestMode
(win, fail, args)
src/windows/InAppPurchaseProxy.js:75
↓ 1 callersMethodsetValue
Update the cache and notify listeners on change.
www/store.js:1081
↓ 1 callersMethodsetValue
Update the cache and notify listeners on change.
src/ts/internal/storefronts.ts:90
↓ 1 callersFunctionshiftAdd32
(op0, op1, v1)
www/store.js:7517
↓ 1 callersFunctionshiftAdd32
(op0: number, op1: number, v1: number)
src/ts/utils/md5.ts:25
↓ 1 callersMethodshouldSendProducts
Check if the products array should be included in the validation request. * Returns true at most once per day, tracked via localStorage.
www/store.js:711
↓ 1 callersMethodshouldSendProducts
Check if the products array should be included in the validation request. * Returns true at most once per day, tracked via localStorage.
src/ts/validator/validator.ts:264
↓ 1 callersMethodstart
* Start monitoring the provided transaction for state changes.
www/store.js:1470
↓ 1 callersMethodstart
* Start monitoring the provided transaction for state changes.
src/ts/internal/transaction-monitor.ts:67
↓ 1 callersMethodstartListening
()
www/store.js:1450
↓ 1 callersMethodstartListening
()
src/ts/internal/transaction-monitor.ts:45
↓ 1 callersMethodstop
(monitorId)
www/store.js:1480
↓ 1 callersMethodstop
()
www/store.js:1566
↓ 1 callersMethodstop
(monitorId: string)
src/ts/internal/transaction-monitor.ts:78
↓ 1 callersMethodstop
()
src/ts/internal/expiry-monitor.ts:76
↓ 1 callersFunctionstoreJsPlugin
* Rollup plugin that serves www/store.js as a virtual ES module. * Appends `export { CdvPurchase }` so the IIFE-defined variable * can be imported b
capacitor/rollup.config.mjs:13
↓ 1 callersMethodstorefrontUpdated
* Register a function called when a platform's storefront country code changes. * * Fires when a platform's cached value transitions
src/ts/types.ts:437
↓ 1 callersFunctionstringToIntArray
(r)
www/store.js:7610
↓ 1 callersFunctionstringToIntArray
(r: string)
src/ts/utils/md5.ts:125
↓ 1 callersMethodsubscribe
Subscribe to an item.
src/android/cc/fovea/PurchasePlugin.java:951
↓ 1 callersFunctiontoHexString
(r)
www/store.js:7502
↓ 1 callersFunctiontoHexString
(r: number)
src/ts/utils/md5.ts:7
↓ 1 callersMethodtoPaymentMode
(phase)
www/store.js:7442
↓ 1 callersMethodtoPaymentMode
(phase: Bridge.PricingPhase)
src/ts/platforms/google-play/googleplay-products.ts:337
↓ 1 callersMethodtoPricingPhase
(phase)
www/store.js:7456
↓ 1 callersMethodtoPricingPhase
(phase: Bridge.PricingPhase)
src/ts/platforms/google-play/googleplay-products.ts:353
↓ 1 callersMethodtoRecurrenceMode
(mode)
www/store.js:7449
↓ 1 callersMethodtoRecurrenceMode
(mode: Bridge.RecurrenceMode)
src/ts/platforms/google-play/googleplay-products.ts:345
↓ 1 callersMethodtoState
(fromConstructor, state, isAcknowledged, isConsumed)
www/store.js:6107
↓ 1 callersMethodtoState
(fromConstructor: boolean, state: Bridge.PurchaseState, isAcknowledged: boolean, isConsumed: boolean)
src/ts/platforms/google-play/googleplay-adapter.ts:18
↓ 1 callersFunctiontoString
(o)
www/store.js:325
↓ 1 callersFunctiontoString
(o: any)
src/ts/log.ts:129
↓ 1 callersMethodtransactionUpdated
Called from native. Same as SK1 but with extra SK2 fields.
www/store.js:4464
↓ 1 callersMethodtransactionUpdated
(state, errorCode, errorText, transactionIdentifier, productId, transactionReceipt, originalTransactionIdentif
www/store.js:4865
↓ 1 callersMethodtransactionUpdated
Called from native. Same as SK1 but with extra SK2 fields.
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:258
↓ 1 callersMethodtransactionUpdated
(state: TransactionState, errorCode: ErrorCode | undefined, errorText: string | undefined, transactionIdentifi
src/ts/platforms/apple-appstore/appstore-bridge.ts:549
↓ 1 callersMethodtrigger
@internal
www/store.js:2726
↓ 1 callersMethodtriggerError
* Trigger an error event. * * @internal
www/store.js:2480
↓ 1 callersMethodtriggerError
* Trigger an error event. * * @internal
src/ts/store.ts:928
↓ 1 callersFunctionupdatePurchases
(receipt: CdvPurchase.Receipt)
src/example/example.ts:185
↓ 1 callersFunctionupdateUI
(product: CdvPurchase.Product)
src/example/example.ts:193
↓ 1 callersMethodupsertProduct
(product)
www/store.js:7741
↓ 1 callersMethodupsertProduct
(product: CdvPurchase.Product)
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:94
↓ 1 callersMethodverify
(transaction: Transaction)
src/ts/transaction.ts:10
↓ 1 callersFunctionwarnIfDeprecatedAdditionalUsername
(log: Logger, additionalData: CdvPurchase.AdditionalData | undefined)
src/ts/platforms/apple-appstore/appstore-adapter.ts:967
↓ 1 callersFunctionwarnIfDeprecatedAdditionalUsername
(log: Logger, additionalData: CdvPurchase.AdditionalData | undefined)
src/ts/platforms/google-play/googleplay-adapter.ts:638
↓ 1 callersMethodwhen
* Register event callbacks. * * Events overview: * - `productUpdated`: Called when product metadata is loaded from the stor
www/store.js:2059
↓ 1 callersMethodwhen
* Register event callbacks. * * Events overview: * - `productUpdated`: Called when product metadata is loaded from the stor
src/ts/store.ts:492
↓ 1 callersFunctionwithObfuscatedAccountId
* Return a copy of `additionalData` with `googlePlay.accountId` populated * from `store.applicationUsername` (via the configured obfuscator)
www/store.js:6683
↓ 1 callersFunctionwithObfuscatedAccountId
* Return a copy of `additionalData` with `googlePlay.accountId` populated * from `store.applicationUsername` (via the configured obfuscator)
src/ts/platforms/google-play/googleplay-adapter.ts:651
MethodacknowledgePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
www/store.d.ts:4860
MethodacknowledgePurchase
(success, fail, purchaseToken)
www/store.js:6821
MethodacknowledgePurchase
(success, fail, purchaseToken)
www/store.js:7068
MethodacknowledgePurchase
Acknowledge a purchase. CRITICAL 6: store PluginCall and resolve in async callback.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:683
MethodacknowledgePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
src/ts/platforms/google-play/googleplay-bridge.ts:308
MethodacknowledgePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:138
Methodadd
(receipt)
www/store.js:504
Methodadd
Register a callback to be called when the plugin is ready.
www/store.js:1357
Methodadd
(product)
www/store.js:1393
Methodadd
(product: IRegisterProduct | Test.IRegisterTestProduct | (IRegisterProduct | Test.IRegisterTestProduct)[])
src/ts/internal/register.ts:46
Methodadd
Register a callback to be called when the plugin is ready.
src/ts/internal/ready.ts:24
Methodadd
(receipt: Receipt)
src/ts/validator/validator.ts:26
Methodadd
Add a receipt to the validation queue. It'll get validated after a few milliseconds.
src/ts/validator/validator.ts:102
Functionajax
* Simplified version of jQuery's ajax method based on XMLHttpRequest. * * Uses cordova's http plugin when installed. *
www/store.js:8807
Functionajax
(log: Logger, options: Ajax.Options<T>)
src/ts/utils/ajax.ts:54
FunctionajaxDone
(response)
www/store.js:8880
FunctionajaxDone
(response: any)
src/ts/utils/ajax.ts:127
MethodanalyzeReceipt
(receipt, requests)
www/store.js:197
MethodanalyzeReceipt
(receipt: VerifiedReceipt, requests: AppleAppStore.DiscountEligibilityRequest[])
src/ts/iaptic.ts:120
MethodappStoreDiscountEligibilityDeterminer
* Determine the eligibility of discounts based on the content of the application receipt. * * The secret sauce used here is to wait
www/store.js:167
MethodappStoreDiscountEligibilityDeterminer
* Determine the eligibility of discounts based on the content of the application receipt. * * The secret sauce used here is to wait for vali
src/ts/iaptic.ts:86
FunctionappStoreRedemptionSheet
()
src/example/example.ts:254
Methodapproved
Register a function called when a transaction is approved.
www/store.d.ts:1683
Methodapproved
(callback)
www/store.js:2713
Methodapproved
(callback: Callback<Transaction>)
src/ts/payment-request.ts:18
FunctionasyncDelay
@internal
www/store.js:8979
FunctionasyncDelay
(milliseconds: number)
src/ts/utils/debounce.ts:41
MethodbraintreeClientTokenProvider
* Provides a client token generated on iaptic's servers * * Can be passed to the Braintree Adapter at initialization. *
www/store.js:137
MethodbraintreeClientTokenProvider
* Provides a client token generated on iaptic's servers * * Can be passed to the Braintree Adapter at initialization. * * @example
src/ts/iaptic.ts:55
MethodbraintreePlugin
()
www/store.js:5945
MethodbraintreePlugin
()
src/ts/platforms/braintree/braintree-bridge-ios.ts:160
Methodbuy
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPurchase.AdditionalData)
www/store.d.ts:4857
Methodbuy
(success, fail, productId, additionalData)
www/store.js:6791
Methodbuy
(success, fail, productId, additionalData)
www/store.js:7042
Methodbuy
Initiate a purchase flow (INAPP).
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:607
Methodbuy
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPurchase.AdditionalData)
src/ts/platforms/google-play/googleplay-bridge.ts:282
Methodbuy
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPurchase.
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:102
MethodbuyFailed
(message, code)
www/store.js:6507
MethodbuyFailed
(message: string, code?: ErrorCode)
src/ts/platforms/google-play/googleplay-adapter.ts:495
MethodbuySuccess
()
www/store.js:6506
← previousnext →501–600 of 1,331, ranked by callers