diff options
author | Hailey <me@haileyok.com> | 2024-08-18 13:24:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-18 13:24:41 -0700 |
commit | 2939ee7df751eef4c3e673e321c6b900847d43d9 (patch) | |
tree | 1be5330ee0c6b6517f90dad0c1f3b06328419e76 /patches | |
parent | 40ab67fc4b5632715f9f0a003bbd243aa81668f3 (diff) | |
download | voidsky-2939ee7df751eef4c3e673e321c6b900847d43d9.tar.zst |
Tweak `expo-modules-core` hack patch (#4955)
Diffstat (limited to 'patches')
-rw-r--r-- | patches/expo-modules-core+1.12.11.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/expo-modules-core+1.12.11.patch b/patches/expo-modules-core+1.12.11.patch index bc759f21f..4bfecb388 100644 --- a/patches/expo-modules-core+1.12.11.patch +++ b/patches/expo-modules-core+1.12.11.patch @@ -4,12 +4,12 @@ index bb74e80..0aa0202 100644 +++ b/node_modules/expo-modules-core/android/src/main/java/expo/modules/adapters/react/NativeModulesProxy.java @@ -90,8 +90,8 @@ public class NativeModulesProxy extends ReactContextBaseJavaModule { mModuleRegistry.ensureIsInitialized(); - + KotlinInteropModuleRegistry kotlinModuleRegistry = getKotlinInteropModuleRegistry(); - kotlinModuleRegistry.emitOnCreate(); kotlinModuleRegistry.installJSIInterop(); + kotlinModuleRegistry.emitOnCreate(); - + Map<String, Object> constants = new HashMap<>(3); constants.put(MODULES_CONSTANTS_KEY, new HashMap<>()); diff --git a/node_modules/expo-modules-core/build/uuid/uuid.js b/node_modules/expo-modules-core/build/uuid/uuid.js @@ -30,10 +30,10 @@ index ee2268a..4851b67 100644 +++ b/node_modules/expo-modules-core/ios/Core/SharedObjects/SharedObjectRegistry.swift @@ -173,7 +173,7 @@ public final class SharedObjectRegistry { } - + internal func clear() { - Self.lockQueue.async { -+ DispatchQueue.main.sync { ++ Self.lockQueue.sync { self.pairs.removeAll() } } |