mobile download
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# GoldenChart Mobile App
|
||||
|
||||
Capacitor + React hybrid app for virtual trading, strategy editor, notifications, and settings.
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
# From repo root
|
||||
npm install
|
||||
npm run dev:app
|
||||
```
|
||||
|
||||
## Native build
|
||||
|
||||
```bash
|
||||
npm run build:app
|
||||
npm run cap:sync
|
||||
npm run cap:android # or cap:ios
|
||||
```
|
||||
|
||||
## exdev.co.kr APK 배포
|
||||
|
||||
소스는 `git push origin main` (Jenkins). APK만 로컬 빌드 후 업로드:
|
||||
|
||||
```bash
|
||||
./scripts/upload-android-apk.sh --build --version 1.0.0
|
||||
```
|
||||
|
||||
`app/.env` 예: `VITE_API_BASE_URL=http://exdev.co.kr/api`
|
||||
|
||||
자세한 내용: [`data/mobile-releases/README.md`](../data/mobile-releases/README.md)
|
||||
|
||||
## Environment
|
||||
|
||||
Copy `.env.example` to `.env` and set `VITE_API_BASE_URL`.
|
||||
|
||||
## FCM (Firebase)
|
||||
|
||||
- Android: `android/app/google-services.json`
|
||||
- iOS: `ios/App/GoogleService-Info.plist` + Push Notifications capability
|
||||
- Backend: `FIREBASE_ENABLED=true` + service account JSON
|
||||
|
||||
## Structure
|
||||
|
||||
- `src/screens/` — mobile UI (virtual, strategy, notifications, settings)
|
||||
- `../packages/shared/` — API client + Capacitor storage
|
||||
- `../frontend/src/` — shared business logic (hooks, utils) via `@frontend` alias
|
||||
Reference in New Issue
Block a user