Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
33 lines
1.4 KiB
TypeScript
33 lines
1.4 KiB
TypeScript
// Module ID: 4307
|
|
// Function ID: 4308
|
|
// Name: BillingPlatformUtils
|
|
// Dependencies: [1608, 1363, 2]
|
|
// Exports: isCollectibleGiftingSupported, isGooglePlayBillingSupported, isPremiumGiftingSupported, isSocialLayerStorefrontGiftingSupported, isSocialLayerStorefrontPurchaseSupported
|
|
|
|
// Module 4307 (BillingPlatformUtils)
|
|
import PlatformUtils from "PlatformUtils" /* 1363 */;
|
|
import MetaQuestUtils from "MetaQuestUtils" /* 1608 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/device/BillingPlatformUtils.tsx");
|
|
|
|
export const isPremiumGiftingSupported = function isPremiumGiftingSupported() {
|
|
return !MetaQuestUtils.isMetaQuest();
|
|
};
|
|
export const isGooglePlayBillingSupported = function isGooglePlayBillingSupported() {
|
|
let isAndroidResult = PlatformUtils.isAndroid();
|
|
if (isAndroidResult) {
|
|
isAndroidResult = !MetaQuestUtils.isMetaQuest();
|
|
const tmpResult = MetaQuestUtils;
|
|
}
|
|
return isAndroidResult;
|
|
};
|
|
export const isCollectibleGiftingSupported = function isCollectibleGiftingSupported() {
|
|
return !MetaQuestUtils.isMetaQuest();
|
|
};
|
|
export const isSocialLayerStorefrontGiftingSupported = function isSocialLayerStorefrontGiftingSupported() {
|
|
return !MetaQuestUtils.isMetaQuest();
|
|
};
|
|
export const isSocialLayerStorefrontPurchaseSupported = function isSocialLayerStorefrontPurchaseSupported() {
|
|
return !MetaQuestUtils.isMetaQuest();
|
|
};
|