Files
MonkeyCode/mobile/package.json
xiaomakuaiz 14aa35d022 fix: stop composer blur bleeding over messages on iOS 26
UIVisualEffectView's gaussian blur spreads ~one blur radius beyond its
bounds. After 6423056 removed the outer clip (required to fix the iOS 26
first-mount blur failure), that bleed escapes above the composer's top
edge and frosts the last line of the agent reply — RN-level clipping
cannot contain it since clipping the effect view's host is documented
undefined behavior.

Switch Glass to expo-glass-effect's GlassView (system UIGlassEffect) on
iOS 26+, which renders strictly within its corner-configured shape, and
keep the BlurView path as fallback for older iOS / non-liquid-glass
builds. The module is lazy-required with a try/catch so OTA bundles
running on binaries without the native module fall back instead of
crashing. colorScheme follows the in-app theme toggle rather than the
system appearance.
2026-07-11 14:11:17 +00:00

91 lines
2.6 KiB
JSON

{
"name": "monkeycode-mobile-expo",
"version": "1.0.0",
"description": "MonkeyCode 移动端(Expo / React Native 原生重构)",
"main": "expo-router/entry",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"lint": "expo lint",
"test": "jest"
},
"dependencies": {
"@expo/vector-icons": "^15.0.2",
"@noble/hashes": "^1.6.1",
"@react-native-async-storage/async-storage": "2.2.0",
"@shopify/flash-list": "2.0.2",
"expo": "^55.0.27",
"expo-apple-authentication": "~55.0.14",
"expo-asset": "~55.0.17",
"expo-blur": "~55.0.15",
"expo-build-properties": "~55.0.15",
"expo-clipboard": "~55.0.14",
"expo-constants": "~55.0.16",
"expo-document-picker": "~55.0.14",
"expo-file-system": "~55.0.23",
"expo-font": "~55.0.8",
"expo-glass-effect": "~55.0.11",
"expo-image-manipulator": "~55.0.18",
"expo-image-picker": "~55.0.21",
"expo-linking": "~55.0.16",
"expo-media-library": "~55.0.18",
"expo-router": "~55.0.16",
"expo-sharing": "~55.0.21",
"expo-splash-screen": "~55.0.22",
"expo-status-bar": "~55.0.6",
"expo-system-ui": "~55.0.19",
"expo-updates": "~55.0.25",
"jest": "~29.7.0",
"punycode": "^2.3.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-native": "0.83.6",
"react-native-gesture-handler": "~2.30.0",
"react-native-keyboard-controller": "1.20.7",
"react-native-live-audio-stream": "^1.1.1",
"react-native-markdown-display": "^7.0.2",
"react-native-nitro-modules": "^0.35.9",
"react-native-quick-crypto": "^1.1.5",
"react-native-reanimated": "4.2.1",
"react-native-safe-area-context": "~5.6.2",
"react-native-screens": "~4.23.0",
"react-native-svg": "15.15.3",
"react-native-web": "~0.21.0",
"react-native-webview": "13.16.0",
"react-native-worklets": "0.7.4",
"react-test-renderer": "19.2.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@types/jest": "^29.5.14",
"@types/node": "^25.9.1",
"@types/react": "~19.2.0",
"eslint": "^9.0.0",
"eslint-config-expo": "~55.0.1",
"typescript": "~5.9.2"
},
"private": true,
"expo": {
"doctor": {
"reactNativeDirectoryCheck": {
"exclude": [
"react-native-markdown-display",
"@noble/hashes"
],
"listUnknownPackages": false
}
}
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.[jt]sx?$": "babel-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
}
}