refactor(navigation): consolidate navigation with href helpers and extract push device hook

- Migrate all navigation calls from magic strings to centralized href helpers
- Extract inline device registration logic into useRegisterPushDevice hook
- Remove unused terms and privacy policy routes from profile stack
- Add hrefTradeDetail helper for trade detail navigation
- Restore routePayloadCache.stashSystemMessage for group request/invite handling
- Change desktop shell tab navigation from replace to push
This commit is contained in:
lafay
2026-06-12 23:42:09 +08:00
parent 1f7e25349f
commit 1e05d2bd54
19 changed files with 312 additions and 473 deletions

View File

@@ -14,43 +14,44 @@
"ios:submit": "eas submit --platform ios --profile production"
},
"dependencies": {
"@expo/ui": "^56.0.15",
"@expo/ui": "~56.0.17",
"@expo/vector-icons": "^15.1.1",
"@livekit/react-native": "^2.11.0",
"@livekit/react-native-webrtc": "^144.1.0",
"@react-native-async-storage/async-storage": "^3.1.1",
"@shopify/flash-list": "^2.3.1",
"@tanstack/react-query": "^5.100.14",
"@types/react": "~19.2.14",
"axios": "^1.16.1",
"date-fns": "^4.4.0",
"expo": "^56.0.8",
"expo-background-task": "~56.0.16",
"expo-callkit-telecom": "^0.3.8",
"expo-camera": "~56.0.7",
"expo-constants": "~56.0.16",
"expo-dev-client": "~56.0.18",
"expo-file-system": "~56.0.7",
"expo-font": "~56.0.5",
"expo": "~56.0.11",
"expo-background-task": "~56.0.18",
"expo-callkit-telecom": "^0.3.9",
"expo-camera": "~56.0.8",
"expo-constants": "~56.0.18",
"expo-dev-client": "~56.0.20",
"expo-file-system": "~56.0.8",
"expo-font": "~56.0.6",
"expo-haptics": "~56.0.3",
"expo-image": "~56.0.6",
"expo-image-picker": "~56.0.15",
"expo-image-picker": "~56.0.17",
"expo-intent-launcher": "~56.0.4",
"expo-linear-gradient": "~56.0.4",
"expo-linking": "~56.0.13",
"expo-media-library": "~56.0.6",
"expo-notifications": "~56.0.15",
"expo-router": "~56.2.8",
"expo-linking": "~56.0.14",
"expo-media-library": "~56.0.7",
"expo-notifications": "~56.0.17",
"expo-router": "~56.2.10",
"expo-splash-screen": "~56.0.10",
"expo-sqlite": "~56.0.4",
"expo-sqlite": "~56.0.5",
"expo-status-bar": "~56.0.4",
"expo-system-ui": "~56.0.5",
"expo-task-manager": "~56.0.16",
"expo-updates": "~56.0.17",
"expo-video": "~56.1.2",
"expo-task-manager": "~56.0.18",
"expo-updates": "~56.0.19",
"expo-video": "~56.1.3",
"jcore-react-native": "^2.3.6",
"jpush-react-native": "^3.2.7",
"katex": "^0.17.0",
"livekit-client": "^2.19.0",
"livekit-client": "^2.19.2",
"markdown-it": "^14.2.0",
"pako": "^2.1.0",
"prismjs": "^1.30.0",