Skip to content

sridharprasath94/TripTrigger-Android

Repository files navigation

TripTrigger 🚗📍

TripTrigger is a modern Android navigation and geofencing application built using Kotlin, Jetpack Compose, and Clean Architecture. It enables users to create routes, track movement in real-time, and receive notifications when entering predefined geofences.


✨ Features

  • 📍 Real-time location tracking
  • 🗺️ Route creation and visualization on map
  • 🧭 Navigation mode with dynamic route
  • 🔔 Geofence-based notifications
  • ⚡ Efficient location updates
  • 🧠 Smart state management using MVI

🏗️ Architecture

The app follows Clean Architecture + MVI (Model-View-Intent) principles:

  • Presentation Layer → ViewModel + UI (Jetpack Compose)
  • Domain Layer → UseCases (business logic)
  • Data Layer → Repositories + Room + Remote APIs

Key patterns used:

  • Unidirectional data flow
  • State-driven UI
  • Dependency Injection with Hilt
  • Modular feature-based structure

🛠️ Tech Stack

  • Kotlin
  • Jetpack Compose
  • Google Maps SDK
  • Google Places API (New SDK)
  • Hilt (Dependency Injection)
  • Room Database
  • Coroutines + Flow
  • Foreground Services (location tracking)

📂 Project Structure

core/
 ├── location/
 ├── notification/
 ├── database/

feature/
 ├── map/

app/
 ├── TripTriggerApp

🚀 Getting Started

1. Clone the repository

git clone https://github.com/your-username/TripTrigger.git

2. Add API Key

Add your Google Maps API key in:

local.properties
MAPS_API_KEY=YOUR_API_KEY

3. Run the app

  • Open in Android Studio
  • Build & Run

🔐 Permissions Used

  • Location (foreground + background)
  • Notifications

🚧 Future Improvements

  • Route snapping (Google Maps level accuracy)
  • Better navigation UI
  • Offline support
  • Notification actions (open map, stop navigation)

👨‍💻 Author

Sridhar Prasath


About

Android navigation & geofencing app built with Kotlin, Compose, and Clean Architecture, featuring real-time tracking and smart notifications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages