21 lines
563 B
TypeScript
21 lines
563 B
TypeScript
// Metro module 12699 (f12700).
|
|
import { NativeModules } from "react-native";
|
|
import { isAndroid } from "../../utils/PlatformUtils";
|
|
import Module502 from "../../_bundle/Module502";
|
|
export default function getCachedUseAltGateway() {
|
|
let r11;
|
|
if (isAndroid()) {
|
|
let useAltGateway = Module502.getConstants().useAltGateway;
|
|
if (useAltGateway == null) {
|
|
useAltGateway = false;
|
|
}
|
|
r11 = useAltGateway;
|
|
} else {
|
|
r11 = NativeModules.DCDFastConnectManager.useAltGateway;
|
|
if (r11 == null) {
|
|
r11 = false;
|
|
}
|
|
}
|
|
return r11;
|
|
};
|