MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isIapAvailable

Function isIapAvailable

src/utils/helpers.js:543–549  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541 },
542
543 isIapAvailable() {
544 return (
545 typeof iap !== "undefined" &&
546 typeof iap.isIapAvailable === "function" &&
547 iap.isIapAvailable()
548 );
549 },
550
551 shouldAllowExternalPurchase() {
552 return !this.isIapAvailable() && !isPlayStoreInstall();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected