chore: 앱에서 안 쓰는 네이티브 화면 정리 — 웹뷰 셸이 쓰지 않는 화면·컴포넌트·lib 81개 파일, 패키지 15개(이미지·SVG·화면 캡처·사진 선택·보안 저장소·react-query·shared 등), app.json 의 secure-store·image-picker 플러그인을 뺌. 경로 파일이 없으면 Expo Router 안내 화면이 떠서 앱이 죽어 빈 index.tsx 를 둠. 이벤트 문서·AGENTS.md 를 웹뷰 구조에 맞춤
This commit is contained in:
1 parent
d4f937b439
commit
016b77f234
88 files changed
+66
-9204
No files matched your search
+3
-3
@@ -25,9 +25,9 @@ Run lint and typecheck before declaring any task done.
|
||||
|
||||
## Navigation & Routing
|
||||
|
||||
- Use **Expo Router** for all navigation. Routes live in `src/app/` — every file there is a screen, `_layout.tsx` files define navigators. Keep non-route code (components, hooks, utils) outside `src/app/`.
|
||||
- Import `Link`, `router`, and `useLocalSearchParams` from `expo-router`.
|
||||
- Docs: https://docs.expo.dev/router/introduction.md
|
||||
- The app is a WebView shell: `src/app/_layout.tsx` renders only `WebShell` (`src/components/web-shell.tsx`), which loads the 날씨각 web site. All screens and navigation live in the web app (`frontend/`), not here. Do not add native screens under `src/app/`.
|
||||
- Expo Router is kept only as the app entry point. `src/app/+native-intent.tsx` redirects every incoming link to `/` so the shell can open it in the WebView.
|
||||
- Native features the web needs (Google sign-in, location, sharing) go through the bridge in `src/lib/web-bridge.ts`.
|
||||
|
||||
## Building with EAS
|
||||
|
||||
|
||||
Reference in new issue
Block a user