decord/source/modules/device/BillingPlatformUtils.tsx

27 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 3789
2026-07-24 07:16:23 +00:00
// Function ID: 29537
2026-07-20 16:05:17 +00:00
// Name: isPremiumGiftingSupported
2026-07-23 10:11:24 +00:00
// Dependencies: [1553, 477, 2]
2026-07-20 16:05:17 +00:00
// Exports: isCollectibleGiftingSupported, isGooglePlayBillingSupported, isPremiumGiftingSupported, isSocialLayerStorefrontGiftingSupported
2026-07-23 10:11:24 +00:00
// Module 3789 (isPremiumGiftingSupported)
const result = require("set").fileFinishedImporting("modules/device/BillingPlatformUtils.tsx");
2026-07-20 16:05:17 +00:00
export const isPremiumGiftingSupported = function isPremiumGiftingSupported() {
2026-07-23 10:11:24 +00:00
return !require(1553) /* isMetaQuest */.isMetaQuest();
2026-07-20 16:05:17 +00:00
};
export const isGooglePlayBillingSupported = function isGooglePlayBillingSupported() {
2026-07-23 10:11:24 +00:00
let isAndroidResult = require(477) /* set */.isAndroid();
2026-07-20 16:05:17 +00:00
if (isAndroidResult) {
2026-07-23 10:11:24 +00:00
isAndroidResult = !require(1553) /* isMetaQuest */.isMetaQuest();
const obj2 = require(1553) /* isMetaQuest */;
2026-07-20 16:05:17 +00:00
}
return isAndroidResult;
};
export const isCollectibleGiftingSupported = function isCollectibleGiftingSupported() {
2026-07-23 10:11:24 +00:00
return !require(1553) /* isMetaQuest */.isMetaQuest();
2026-07-20 16:05:17 +00:00
};
export const isSocialLayerStorefrontGiftingSupported = function isSocialLayerStorefrontGiftingSupported() {
2026-07-23 10:11:24 +00:00
return !require(1553) /* isMetaQuest */.isMetaQuest();
2026-07-20 16:05:17 +00:00
};