36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# Working Context
|
|
|
|
## Current Project: inou-mobile Flutter App
|
|
- **Location:** `/home/johan/dev/inou-mobile/`
|
|
- **Device:** ThinkPhone (ZY22J5H4FQ), Android 15
|
|
- **Mac SSH:** `johanjongsma@192.168.1.14`
|
|
|
|
### Theme: ✅ Complete
|
|
- inou styleguide colors applied (amber accent, cream background)
|
|
- Light theme default, dark theme available
|
|
|
|
### Next: Login Screen + Biometric
|
|
- Create `lib/features/auth/login_screen.dart`
|
|
- Update `lib/services/auth_service.dart`
|
|
- Flow: email/password login → then biometric for subsequent logins
|
|
- AuthGate exists but is commented out in main.dart
|
|
|
|
### Blockers
|
|
- WebView 404: `https://inou.com/app` doesn't exist
|
|
- Either create web content OR change `AppConfig.webAppUrl` in `lib/core/config.dart`
|
|
|
|
### Key Commands
|
|
```bash
|
|
# Screenshot
|
|
ssh johanjongsma@192.168.1.14 'PATH=/opt/homebrew/bin:$PATH adb -s ZY22J5H4FQ exec-out screencap -p' > /tmp/phone_screenshot.png
|
|
|
|
# Build & Run (on Mac)
|
|
cd ~/dev/inou-mobile && flutter run -d ZY22J5H4FQ
|
|
|
|
# Hot reload: press 'r' in flutter session
|
|
```
|
|
|
|
### Git
|
|
- Remote: `git@zurich.inou.com:inou-mobile.git`
|
|
- Push from server, pull on Mac before building
|