This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,19 @@
// Metro module 12709 (f12710).
import { NativeModules } from "react-native";
import { isAndroid } from "../../utils/PlatformUtils";
import Module12710 from "../../_bundle/Module12710";
export function supportsZstd() {
let supportsZstd2;
if (isAndroid()) {
supportsZstd2 = Module12710.getConstants().supportsZstd;
} else {
supportsZstd2 = NativeModules.DCDCompressionManager?.supportsZstd;
if (supportsZstd2 == null) {
supportsZstd2 = false;
}
}
return supportsZstd2;
}
export function createZstdContextWeb() {
throw new Error("Attempting to use createZstdContextWeb in a native context. Use MobileGatewayCompressionHandler instead.");
}