Bluesky app fork with some witchin' additions 💫

Hack patch for testing OTA update crash behavior (#4942)

authored by hailey.at and committed by

GitHub f3b57dd4 11061b62

+16 -3
+16 -3
patches/expo-modules-core+1.12.11.patch
··· 4 4 +++ b/node_modules/expo-modules-core/android/src/main/java/expo/modules/adapters/react/NativeModulesProxy.java 5 5 @@ -90,8 +90,8 @@ public class NativeModulesProxy extends ReactContextBaseJavaModule { 6 6 mModuleRegistry.ensureIsInitialized(); 7 - 7 + 8 8 KotlinInteropModuleRegistry kotlinModuleRegistry = getKotlinInteropModuleRegistry(); 9 9 - kotlinModuleRegistry.emitOnCreate(); 10 10 kotlinModuleRegistry.installJSIInterop(); 11 11 + kotlinModuleRegistry.emitOnCreate(); 12 - 12 + 13 13 Map<String, Object> constants = new HashMap<>(3); 14 14 constants.put(MODULES_CONSTANTS_KEY, new HashMap<>()); 15 15 diff --git a/node_modules/expo-modules-core/build/uuid/uuid.js b/node_modules/expo-modules-core/build/uuid/uuid.js 16 - index 109d3fe..c7fce9e 100644 16 + index 109d3fe..c421931 100644 17 17 --- a/node_modules/expo-modules-core/build/uuid/uuid.js 18 18 +++ b/node_modules/expo-modules-core/build/uuid/uuid.js 19 19 @@ -1,5 +1,7 @@ ··· 24 24 const nativeUuidv4 = globalThis?.expo?.uuidv4; 25 25 const nativeUuidv5 = globalThis?.expo?.uuidv5; 26 26 function uuidv4() { 27 + diff --git a/node_modules/expo-modules-core/ios/Core/SharedObjects/SharedObjectRegistry.swift b/node_modules/expo-modules-core/ios/Core/SharedObjects/SharedObjectRegistry.swift 28 + index ee2268a..4851b67 100644 29 + --- a/node_modules/expo-modules-core/ios/Core/SharedObjects/SharedObjectRegistry.swift 30 + +++ b/node_modules/expo-modules-core/ios/Core/SharedObjects/SharedObjectRegistry.swift 31 + @@ -173,7 +173,7 @@ public final class SharedObjectRegistry { 32 + } 33 + 34 + internal func clear() { 35 + - Self.lockQueue.async { 36 + + DispatchQueue.main.sync { 37 + self.pairs.removeAll() 38 + } 39 + }