decord/source/modules/gateway/getCachedUseAltGateway.native.tsx

28 lines
737 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 13195
// Function ID: 13196
2026-07-20 16:05:17 +00:00
// Name: getCachedUseAltGateway
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 500, 502, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-15 05:55:55 +00:00
// Module 13195 (getCachedUseAltGateway)
2026-07-23 10:11:24 +00:00
import { NativeModules } from "get ActivityIndicator";
const result = require("enforcing").fileFinishedImporting("modules/gateway/getCachedUseAltGateway.native.tsx");
2026-07-20 16:05:17 +00:00
export default function getCachedUseAltGateway() {
if (obj.isAndroid()) {
2026-07-29 08:29:29 +00:00
let flag2 = importDefault(502).getConstants().useAltGateway;
if (flag2 == null) {
flag2 = false;
}
let flag = flag2;
const obj2 = importDefault(502);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
flag = NativeModules.DCDFastConnectManager.useAltGateway;
if (flag == null) {
flag = false;
}
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return flag;
2026-07-20 16:05:17 +00:00
};