mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-18 04:08:48 -05:00
3c433e2593
- Add build troubleshooting and Windows-specific guides - Document branding guidelines and asset management - Add desktop build configuration documentation - Include symlink and OneDrive fix guides - Add code signing and permissions documentation - Document quick start guides for various scenarios
TimeTracker Mobile App
Flutter mobile application for Android and iOS that integrates with the TimeTracker REST API.
Features
- ⏱️ Time Tracking - Start, stop, and manage timers
- 📊 Projects & Tasks - View and select projects and tasks
- 📝 Time Entries - View and manage time entries with calendar
- 🔄 Offline Support - Work offline with automatic sync
- 🔐 Secure Authentication - Token-based authentication with secure storage
Setup
Prerequisites
- Flutter SDK 3.0.0 or higher
- Android Studio / Xcode for platform-specific setup
Installation
- Install dependencies:
flutter pub get
- Run code generation (for Hive adapters):
flutter pub run build_runner build
- Run the app:
flutter run
Configuration
- Launch the app
- Enter your TimeTracker server URL (e.g.,
https://your-server.com) - Enter your API token (obtained from Admin > API Tokens in the web app)
- Start tracking time!
Architecture
The app follows clean architecture principles:
- Presentation Layer (
lib/presentation/) - UI screens and widgets - Domain Layer (
lib/domain/) - Business logic and use cases - Data Layer (
lib/data/) - API client, local storage, models - Core (
lib/core/) - Configuration, themes, constants
API Integration
The app integrates with the TimeTracker REST API (/api/v1/):
- Timer endpoints:
/api/v1/timer/start,/api/v1/timer/stop,/api/v1/timer/status - Time entries:
/api/v1/time-entries - Projects:
/api/v1/projects - Tasks:
/api/v1/tasks
See the main project's API documentation for details.
Building
Android
flutter build apk --release
# or
flutter build appbundle --release
iOS
flutter build ios --release
Then open Xcode to archive and distribute.