Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

patch expo modules again (#5441)

authored by

Samuel Newman and committed by
GitHub
395edfe7 0eed1cfe

+14 -2
+14 -2
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 + 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 17 + --- a/node_modules/expo-modules-core/build/uuid/uuid.js 18 + +++ b/node_modules/expo-modules-core/build/uuid/uuid.js 19 + @@ -1,5 +1,7 @@ 20 + import bytesToUuid from './lib/bytesToUuid'; 21 + import { Uuidv5Namespace } from './uuid.types'; 22 + +import { ensureNativeModulesAreInstalled } from '../ensureNativeModulesAreInstalled'; 23 + +ensureNativeModulesAreInstalled(); 24 + const nativeUuidv4 = globalThis?.expo?.uuidv4; 25 + const nativeUuidv5 = globalThis?.expo?.uuidv5; 26 + function uuidv4() {