f8859b4601
PackageList.java generated by RN autolinking imported expo.core.ExpoModulesPackage
(old SDK <48 name). Root cause: RN CLI couldn't read expo's react-native.config.js
through the pnpm symlink (it lives at .pnpm/expo@52..../expo/react-native.config.js),
so it fell back to deriving the import path from expo's Android gradle namespace
("expo.core") + assumed class name (ExpoModulesPackage), producing a path that
doesn't exist (the actual class lives at expo.modules.ExpoModulesPackage).
Added "expo" to .npmrc public-hoist-pattern so RN's autolinking can resolve
expo's react-native.config.js via the standard node_modules lookup. That config
explicitly sets packageImportPath to the correct expo.modules.ExpoModulesPackage.
Also corrected @expo/metro-runtime from 55.0.11 (added blindly earlier) to ~4.0.1
which is the SDK-52-aligned version.
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "@chat-app/mobile",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Expo + React Native mobile client (iOS / Android)",
|
|
"main": "expo-router/entry",
|
|
"scripts": {
|
|
"dev": "expo start",
|
|
"start": "expo start",
|
|
"ios": "expo run:ios",
|
|
"android": "expo run:android",
|
|
"web": "expo start --web",
|
|
"build": "echo \"Use EAS Build: eas build --platform all\" && exit 0",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"clean": "rm -rf .expo node_modules/.cache .turbo *.tsbuildinfo"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.29.2",
|
|
"@chat-app/db-types": "workspace:*",
|
|
"@chat-app/shared": "workspace:*",
|
|
"@config-plugins/react-native-webrtc": "^10.0.0",
|
|
"@expo/metro-runtime": "^4.0.1",
|
|
"@livekit/react-native": "^2.10.3",
|
|
"@livekit/react-native-webrtc": "^144.0.0",
|
|
"@react-native-async-storage/async-storage": "^1.23.1",
|
|
"@supabase/supabase-js": "^2.46.0",
|
|
"expo": "^52.0.0",
|
|
"expo-application": "^6.0.2",
|
|
"expo-constants": "~17.0.0",
|
|
"expo-dev-client": "^5.0.20",
|
|
"expo-image-picker": "^16.0.6",
|
|
"expo-linking": "~7.0.0",
|
|
"expo-notifications": "~0.29.0",
|
|
"expo-router": "~4.0.0",
|
|
"expo-secure-store": "~14.0.0",
|
|
"expo-sqlite": "~15.1.4",
|
|
"expo-status-bar": "~2.0.0",
|
|
"livekit-client": "^2.7.0",
|
|
"react": "18.3.1",
|
|
"react-native": "0.76.9",
|
|
"react-native-gesture-handler": "^2.20.2",
|
|
"react-native-libsodium": "^1.3.0",
|
|
"react-native-safe-area-context": "~4.12.0",
|
|
"react-native-screens": "~4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.0",
|
|
"@types/react": "~18.3.12"
|
|
}
|
|
}
|