MCPcopy Create free account

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

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

↓ 100 callersMethodinfo
* Logs an info message, only if `store.verbosity` >= store.INFO
www/store.js:282
↓ 100 callersMethodinfo
* Logs an info message, only if `store.verbosity` >= store.INFO
src/ts/log.ts:73
↓ 89 callersMethodpush
Add a callback to the list
www/store.js:1305
↓ 81 callersMethodpush
Add a callback to the list
src/ts/internal/callbacks.ts:41
↓ 76 callersMethoddebug
* Logs a debug message, only if `store.verbosity` >= store.DEBUG
www/store.js:286
↓ 76 callersMethoddebug
* Logs a debug message, only if `store.verbosity` >= store.DEBUG
src/ts/log.ts:78
↓ 70 callersMethodwarn
(message: string)
src/ts/log.ts:123
↓ 61 callersFunctionlog
(verbosity, level, prefix, o)
www/store.js:330
↓ 54 callersMethodfind
* Retrieve a platform adapter.
src/ts/internal/adapters.ts:238
↓ 54 callersFunctionprotectCall
(callback, context, ...args)
www/store.js:4294
↓ 52 callersMethoderror
(message: string)
src/ts/log.ts:124
↓ 51 callersMethodfind
* Retrieve a platform adapter.
www/store.js:977
↓ 50 callersMethodreceiptsUpdated
(platform: Platform, receipts: Receipt[])
src/ts/internal/adapters.ts:45
↓ 37 callersMethodlog
(message: string)
src/ts/log.ts:122
↓ 35 callersFunctionlog
(msg: string)
src/ts/platforms/apple-appstore/appstore-bridge-capacitor.ts:5
↓ 29 callersFunctionexec
(methodName, options, success, error)
www/store.js:4291
↓ 29 callersFunctionprotectCall
Execute a javascript-side method in a try-catch block
src/ts/platforms/apple-appstore/appstore-bridge.ts:167
↓ 28 callersFunctionlog
(s)
src/windows/InAppPurchaseProxy.js:8
↓ 25 callersMethodcallError
(final int code, final String msg)
src/android/cc/fovea/PurchasePlugin.java:1320
↓ 25 callersFunctionprotectCall
( this: any, callback: T, context: string, ...args: Parameters<T>)
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:15
↓ 24 callersMethodtrigger
Call all registered callbacks with the given value
www/store.js:1320
↓ 23 callersMethodresolve
Call all registered callbacks with the given value
www/store.js:2972
↓ 22 callersMethodrefreshWith
* Refresh the cached value for a given adapter. * * The returned promise: * - resolves when the adapter respo
www/store.js:1031
↓ 21 callersMethodformat
(final BillingResult result)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:392
↓ 21 callersMethodtrigger
Call all registered callbacks with the given value
src/ts/internal/callbacks.ts:57
↓ 20 callersMethodformat
(final BillingResult result)
src/android/cc/fovea/PurchasePlugin.java:1411
↓ 20 callersMethodobfuscateUsername
* Obfuscate the application username according to the configured obfuscation strategy. * * See {@link Obfuscator} for the per-mode o
www/store.js:1883
↓ 18 callersMethodchild
* Create a child logger, whose prefix will be this one's + the given string. * * @example * const log = store.log.child('Ap
www/store.js:259
↓ 17 callersFunctionappStoreError
(code, message, productId)
www/store.js:4016
↓ 17 callersFunctionappStoreError
(code: ErrorCode, message: string, productId: string | null)
src/ts/platforms/apple-appstore/appstore-adapter.ts:962
↓ 17 callersMethodchild
* Create a child logger, whose prefix will be this one's + the given string. * * @example * const log = store.log.child('Ap
src/ts/log.ts:48
↓ 17 callersMethodinitialize
* Initializes a platform adapter. * * Will resolve when initialization is complete. * * Will fail with an `IError`
src/ts/types.ts:149
↓ 15 callersMethodadd
(log, adapters, context)
www/store.js:881
↓ 15 callersMethodadd
(log: Logger, adapters: (PlatformWithOptions)[], context: AdapterContext)
src/ts/internal/adapters.ts:142
↓ 15 callersFunctionbraintreeError
(code: ErrorCode, message: string)
src/ts/platforms/braintree/braintree-adapter.ts:468
↓ 15 callersFunctionexec
Execute a native method
src/ts/platforms/apple-appstore/appstore-bridge.ts:162
↓ 15 callersMethodget
* Find a product from its id and platform * * @param productId Product identifier on the platform. * @param platform The pr
www/store.js:2126
↓ 15 callersFunctionplayStoreError
(code, message, productId)
www/store.js:6695
↓ 15 callersFunctionplayStoreError
(code: ErrorCode, message: string, productId: string | null)
src/ts/platforms/google-play/googleplay-adapter.ts:663
↓ 15 callersMethodwhen
()
src/ts/internal/receipts-monitor.ts:6
↓ 14 callersMethodaddListener
( eventName: string, listenerFunc: (data: any) => void )
capacitor/src/definitions.ts:97
↓ 14 callersMethodcanPurchase
* Returns true if the offer can be purchased.
src/ts/offer.ts:19
↓ 14 callersFunctionexec
(methodName: string, options: any[], success?: (msg?: any) => void,
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:9
↓ 14 callersFunctionmakeLogger
()
tests/storefronts.test.ts:3
↓ 13 callersMethodgetApplicationUsername
()
src/ts/validator/validator.ts:46
↓ 13 callersMethodreceiptsReady
* Register a function called when all receipts have been loaded. * * This handler is called only once. Use this when you want to run
src/ts/types.ts:419
↓ 13 callersMethodrefresh
* @deprecated - use store.initialize(), store.update() or store.restorePurchases()
www/store.js:1992
↓ 13 callersMethodremove
Remove a callback from the list
www/store.js:1333
↓ 13 callersMethodremove
Remove a callback from the list
src/ts/internal/callbacks.ts:71
↓ 12 callersMethodfindReady
* Retrieve the first platform adapter in the ready state, if any. * * You can optionally force the platform adapter you are
www/store.js:988
↓ 12 callersMethodfindReady
* Retrieve the first platform adapter in the ready state, if any. * * You can optionally force the platform adapter you are
src/ts/internal/adapters.ts:250
↓ 12 callersMethodget
* Find a product from its id and platform * * @param productId Product identifier on the platform. * @param platform The pr
src/ts/store.ts:566
↓ 12 callersMethodgetValueFor
* Retrieve a storefront value. * * - With a platform: always returns `{ platform, countryCode }`, * where `co
www/store.js:1061
↓ 12 callersFunctioniapticJsError
(code, message, productId)
www/store.js:8081
↓ 12 callersFunctioniapticJsError
(code: ErrorCode, message: string, productId: string | null)
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:432
↓ 12 callersFunctionlog
(msg: string)
src/ts/platforms/google-play/googleplay-bridge.ts:88
↓ 12 callersFunctionmakeAdapter
(id: CdvPurchase.Platform, getStorefrontImpl?: () => Promise<string | undefined>)
tests/storefronts.test.ts:16
↓ 12 callersMethodreceiptsReady
(platform: Platform)
src/ts/internal/adapters.ts:46
↓ 12 callersFunctionstoreError
(code: ErrorCode, message: string, platform: Platform | null, productId: string | null)
src/ts/error-codes.ts:88
↓ 11 callersMethodaddOffer
* Add an offer to this product. * * @internal
www/store.js:436
↓ 11 callersMethodaddOffer
* Add an offer to this product. * * @internal
src/ts/product.ts:119
↓ 11 callersFunctionerrorCb
(fail)
www/store.js:7105
↓ 11 callersFunctionerrorCb
(fail: (message: string, code?: number) => void)
src/ts/platforms/google-play/googleplay-bridge.ts:350
↓ 11 callersMethodgetLastResult
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:145
↓ 11 callersMethodgetLastResult
Last result from the billing client. @return the latest BillingResult
src/android/cc/fovea/PurchasePlugin.java:140
↓ 11 callersMethodisEligible
(productId: string, discountType: DiscountType, discountId: string)
src/ts/platforms/apple-appstore/appstore-discount.ts:20
↓ 10 callersFunctioncollectEligibilityRequests
* Build the pair of (requests, native-provided answers) for every valid product. * * The two arrays are parallel: for each r
www/store.js:5019
↓ 10 callersMethodfinish
* Finish a transaction. * * For non-consumables, this will acknowledge the purchase. * For consumable, this will acknowledg
src/ts/types.ts:177
↓ 10 callersFunctiongetDeviceInfo
(store: any)
tests/validator-deviceinfo.test.ts:18
↓ 10 callersMethodhas
(receipt)
www/store.js:512
↓ 10 callersFunctionproduct
(over: Partial<ValidProduct> = {})
tests/appstore-eligibility.test.ts:21
↓ 10 callersMethodverified
Register a function called when a receipt is verified.
src/ts/types.ts:404
↓ 9 callersFunctionlog
(msg: string)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:5
↓ 9 callersMethodverify
(receipt: Receipt)
src/ts/receipt.ts:7
↓ 8 callersFunctionerrorString
(code)
src/windows/InAppPurchaseProxy.js:248
↓ 8 callersMethodhas
(receipt: Receipt)
src/ts/validator/validator.ts:36
↓ 8 callersMethodoff
(callback: Callback<T>)
src/ts/internal/receipts-monitor.ts:12
↓ 8 callersMethodonProductDetailsResponse
(BillingResult result, List<ProductDetails> productDetailsList)
src/android/cc/fovea/PurchasePlugin.java:79
↓ 8 callersMethodrefresh
(valid: Bridge.ValidProduct, decorator: CdvPurchase.Internal.ProductDecorator & CdvPurchase.Internal.OfferDeco
src/ts/platforms/apple-appstore/appstore-product.ts:43
↓ 7 callersMethodexecuteServiceRequest
(final Runnable runnable)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:449
↓ 7 callersMethodgetStorefront
* Retrieve the billing country code from the platform's storefront. * * Returns an ISO 3166-1 alpha-2 country code (e.g., "US", "FR"
src/ts/types.ts:222
↓ 7 callersMethodloadProducts
* Load product definitions from the platform.
src/ts/types.ts:154
↓ 7 callersMethodmanageSubscriptions
* Open the platforms' subscription management interface.
src/ts/types.ts:197
↓ 7 callersMethodorder
* Initializes an order.
src/ts/types.ts:169
↓ 7 callersFunctiontestStoreError
(code, message, productId)
www/store.js:8376
↓ 7 callersFunctiontestStoreError
(code: ErrorCode, message: string, productId: string | null)
src/ts/platforms/test/test-adapter.ts:293
↓ 6 callersFunctionallowed
(policy)
www/store.js:9220
↓ 6 callersFunctionallowed
(policy: PrivacyPolicyItem)
src/ts/validator/validator-deviceinfo.ts:107
↓ 6 callersFunctionbraintreeError
(code, message)
www/store.js:5566
↓ 6 callersMethodcallSuccess
()
src/android/cc/fovea/PurchasePlugin.java:1302
↓ 6 callersMethodexecuteServiceRequest
(final Runnable runnable)
src/android/cc/fovea/PurchasePlugin.java:1374
↓ 6 callersMethodfinished
Register a function called when a transaction is finished.
src/ts/types.ts:401
↓ 6 callersMethodgetProduct
Find a given product from ID
www/store.js:3266
↓ 6 callersMethodgetProduct
(id: string)
src/ts/platforms/google-play/googleplay-products.ts:42
↓ 6 callersMethodlisten
Register a change listener.
www/store.js:1073
↓ 6 callersMethodmanageBilling
* Open the platforms' billing management interface.
src/ts/types.ts:202
↓ 6 callersFunctionmergeNativeEligibility
* Overlay native-provided eligibility answers on top of a determiner response. * * Native wins on conflict — it's the author
www/store.js:5051
↓ 6 callersMethodowned
* Returns true if the product is owned.
src/ts/product.ts:12
↓ 6 callersMethodproductsUpdated
(platform: Platform, products: Product[])
src/ts/internal/adapters.ts:44
↓ 6 callersMethodrequestPayment
* Request a payment from the user
src/ts/types.ts:192
next →1–100 of 1,331, ranked by callers