mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-09 01:46:46 +08:00
The remedy documented in apps/mobile/README.md for a claimed bundle identifier — export EXPO_BUNDLE_IDENTIFIER_PROD, then re-run `pnpm ios:mobile:device:prod:release` — has no effect after the first build. `expo run:ios` prebuilds only when ios/ is missing: ensureNativeProjectAsync in @expo/cli returns early when the directory exists, so config plugins never re-run and the project keeps the old identifier. The same freeze hides every other app.config.ts change. A checkout whose ios/ was generated once still had the template bundle id, an empty AppIcon.appiconset, no CFBundleDisplayName, no CFBundleURLTypes and no NSPhotoLibraryUsageDescription — while every build reported success. Route every ios:* script through scripts/ios-run.sh, which prebuilds before running. The wrapper inherits the caller's dotenv/cross-env so prebuild and run resolve the same APP_ENV and bundle identifier; a bare prebuild in a prod/staging script would rewrite the project to the dev variant. --no-install is safe because run:ios installs pods itself when Podfile.lock is stale. --clean is avoided because expo-build-properties sets buildReactNativeFromSource, making a clean prebuild far too slow for the edit/run loop. scripts/ios-run.test.sh stubs pnpm on PATH and asserts the call sequence: prebuild precedes run:ios, arguments forward to run:ios only, and a failed prebuild aborts before run:ios. It runs in mobile's existing test task. Claude-Session: https://claude.ai/code/session_01GfpPip2LPR1y9bKKEssGLG Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
94 lines
3.6 KiB
JSON
94 lines
3.6 KiB
JSON
{
|
|
"name": "@multica/mobile",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"main": "expo-router/entry",
|
|
"scripts": {
|
|
"dev": "expo start",
|
|
"dev:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging expo start",
|
|
"dev:prod": "dotenv -e .env.production -- cross-env APP_ENV=production expo start",
|
|
"ios": "./scripts/ios-run.sh",
|
|
"ios:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh",
|
|
"ios:prod": "dotenv -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh",
|
|
"ios:device": "./scripts/ios-run.sh --device",
|
|
"ios:device:staging": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh --device",
|
|
"ios:device:staging:release": "dotenv -e .env.staging -- cross-env APP_ENV=staging ./scripts/ios-run.sh --device --configuration Release",
|
|
"ios:device:prod": "dotenv -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh --device",
|
|
"ios:device:prod:release": "dotenv -e .env.production -- cross-env APP_ENV=production ./scripts/ios-run.sh --device --configuration Release",
|
|
"lint": "expo lint",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run && bash scripts/ios-run.test.sh"
|
|
},
|
|
"dependencies": {
|
|
"@expo/vector-icons": "^14.1.0",
|
|
"@multica/core": "workspace:*",
|
|
"@react-native-community/datetimepicker": "8.6.0",
|
|
"@react-native-community/netinfo": "11.5.2",
|
|
"@react-native-segmented-control/segmented-control": "2.5.7",
|
|
"@react-navigation/elements": "^2.9.17",
|
|
"@react-navigation/native": "^7.1.6",
|
|
"@rn-primitives/avatar": "^1.4.0",
|
|
"@rn-primitives/collapsible": "^1.4.0",
|
|
"@rn-primitives/dropdown-menu": "^1.4.0",
|
|
"@rn-primitives/portal": "^1.4.0",
|
|
"@rn-primitives/radio-group": "^1.4.0",
|
|
"@rn-primitives/separator": "^1.4.0",
|
|
"@rn-primitives/slot": "^1.4.0",
|
|
"@rn-primitives/switch": "^1.4.0",
|
|
"@rn-primitives/tabs": "^1.4.0",
|
|
"@shikijs/core": "^4.0.2",
|
|
"@shikijs/langs": "^4.0.2",
|
|
"@shikijs/themes": "^4.0.2",
|
|
"@shopify/flash-list": "2.0.2",
|
|
"@tanstack/react-query": "^5.96.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"expo": "~55.0.23",
|
|
"expo-build-properties": "~55.0.13",
|
|
"expo-clipboard": "~55.0.13",
|
|
"expo-constants": "~55.0.16",
|
|
"expo-dev-client": "^55.0.32",
|
|
"expo-document-picker": "~55.0.13",
|
|
"expo-haptics": "~55.0.14",
|
|
"expo-image": "^55.0.10",
|
|
"expo-image-picker": "~55.0.20",
|
|
"expo-linking": "~55.0.0",
|
|
"expo-router": "~55.0.14",
|
|
"expo-secure-store": "~55.0.13",
|
|
"expo-status-bar": "~55.0.0",
|
|
"expo-system-ui": "~55.0.0",
|
|
"input-otp-native": "^0.5.0",
|
|
"marked": "^18.0.3",
|
|
"nativewind": "^4.1.23",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"react-native": "0.83.6",
|
|
"react-native-enriched-markdown": "^0.5.0",
|
|
"react-native-gesture-handler": "~2.30.1",
|
|
"react-native-image-viewing": "^0.2.2",
|
|
"react-native-keyboard-controller": "1.20.7",
|
|
"react-native-reanimated": "~4.2.1",
|
|
"react-native-safe-area-context": "~5.6.0",
|
|
"react-native-screens": "~4.23.0",
|
|
"react-native-shiki-engine": "^0.3.10",
|
|
"react-native-svg": "15.15.3",
|
|
"react-native-web": "~0.21.0",
|
|
"react-native-worklets": "0.7.4",
|
|
"rn-emoji-keyboard": "^1.7.0",
|
|
"tailwind-merge": "^2.5.4",
|
|
"tailwindcss": "^3.4.17",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zod": "^4.1.5",
|
|
"zustand": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.0",
|
|
"@types/react": "~19.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv-cli": "^7.4.4",
|
|
"eslint-config-expo": "~55.0.0",
|
|
"typescript": "~5.9.0",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|