27 lines
1.5 KiB
TypeScript
27 lines
1.5 KiB
TypeScript
/* Metro module 3815; source: modules/device/BillingPlatformUtils.tsx; dependencies: [1581, 477, 2] */
|
|
function _fun29511(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#29511, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3942:6, offset: 0x00fc3dea, size: 127 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/device/BillingPlatformUtils.tsx');
|
|
exports.isPremiumGiftingSupported = isPremiumGiftingSupported;
|
|
exports.isGooglePlayBillingSupported = isGooglePlayBillingSupported;
|
|
exports.isCollectibleGiftingSupported = isCollectibleGiftingSupported;
|
|
exports.isSocialLayerStorefrontGiftingSupported = isSocialLayerStorefrontGiftingSupported;
|
|
}
|
|
|
|
function isGooglePlayBillingSupported() { // fn#29513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3942:291, offset: 0x00fc3e90, size: 72 bytes, params: 1, frame: 13
|
|
var r0;
|
|
var value;
|
|
const isAndroid2 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid();
|
|
if (isAndroid2) {
|
|
value = require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */;
|
|
value = !value.isMetaQuest();
|
|
r0 = value;
|
|
} else {
|
|
r0 = isAndroid2;
|
|
}
|
|
return r0;
|
|
}
|
|
|