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

+21
View File
@@ -0,0 +1,21 @@
// Metro module 1910 (f1911).
import { NativeModules } from "react-native";
let __KvStorage;
if (global.__KvStorage != null) {
__KvStorage = global.__KvStorage;
} else {
if (NativeModules.KvStorage == null) {
throw new Error("couldn't find the native kv_storage module.");
}
if (!(NativeModules.KvStorage.activate instanceof Function)) {
throw new Error("couldn't start the storage subsystem: native module exists, but jsi might not be available?");
}
if (!NativeModules.KvStorage.activate()) {
throw new Error("couldn't start the storage subsystem: activation failed.");
}
if (global.__KvStorage == null) {
throw new Error("couldn't start the storage subsystem: subsystem missing after activation.");
}
__KvStorage = global.__KvStorage;
}
export { __KvStorage as KV_RAW };