2026-09-24 16:03:38 +00:00
|
|
|
// Module ID: 4463
|
|
|
|
|
// Function ID: 4464
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: BillingPlatformUtils
|
2026-09-21 19:31:18 +00:00
|
|
|
// Dependencies: [1613, 1368, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: isCollectibleGiftingSupported, isGooglePlayBillingSupported, isPremiumGiftingSupported, isSocialLayerStorefrontGiftingSupported, isSocialLayerStorefrontPurchaseSupported
|
|
|
|
|
|
2026-09-24 16:03:38 +00:00
|
|
|
// Module 4463 (BillingPlatformUtils)
|
2026-09-21 19:31:18 +00:00
|
|
|
import PlatformUtils from "PlatformUtils" /* 1368 */;
|
|
|
|
|
import MetaQuestUtils from "MetaQuestUtils" /* 1613 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
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();
|
|
|
|
|
};
|