LiveConnect is an Android application for real-time location sharing, social connections, communication, safety alerts, travel tracking, geofencing, and AI-assisted interaction.
The application combines native Android development with Kotlin, Supabase, Google Maps, Room Database, Android Location Services, and Gemini AI.
- ๐ Real-time location tracking
- ๐บ๏ธ Google Maps integration
- ๐ฅ Friend and social connection management
- ๐ฌ Chat functionality
- ๐จ SOS and emergency alerts
- ๐ Geofencing support
- ๐งญ Travel and location timeline
- ๐ค Gemini AI-powered assistant
- ๐พ Local offline storage using Room Database
- โ๏ธ Supabase cloud synchronization
- ๐ Local and cloud data synchronization
- ๐ฑ Native Android application
- Kotlin
- Android SDK
- Jetpack Compose
- Android Location Services
- Room Database
- Gradle
- Supabase
- REST API
- Cloud synchronization
- Google Maps
- Google Maps SDK
- Android Geolocation APIs
- Geofencing
- Google Gemini API
- Android Studio
- Git
- GitHub
LiveConnect/
โโโ app/
โ โโโ src/
โ โ โโโ androidTest/
โ โ โโโ main/
โ โ โ โโโ java/com/example/
โ โ โ โ โโโ data/
โ โ โ โ โ โโโ local/
โ โ โ โ โ โโโ remote/
โ โ โ โ โโโ location/
โ โ โ โ โโโ repository/
โ โ โ โ โโโ ui/
โ โ โ โ โโโ components/
โ โ โ โ โโโ screens/
โ โ โ โ โโโ theme/
โ โ โ โ โโโ viewmodel/
โ โ โ โโโ res/
โ โ โโโ test/
โ โโโ build.gradle.kts
โโโ gradle/
โโโ build.gradle.kts
โโโ gradle.properties
โโโ gradlew
โโโ gradlew.bat
โโโ settings.gradle.kts
git clone https://github.com/Ashish45188/LiveConnect.gitOpen the cloned project in Android Studio.
The repository does not contain real API keys or sensitive credentials.
Configure the required services locally.
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY
GEMINI_API_KEY=YOUR_GEMINI_API_KEY
MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY
Do not commit real API keys or credentials to GitHub.
Allow Android Studio to synchronize the Gradle project and download the required dependencies.
Connect a physical Android device with USB debugging enabled or start an Android emulator.
Build and run the application using Android Studio.
LiveConnect uses Android location services for location-based functionality.
Location features include:
- Real-time location sharing
- Friend location visibility
- Travel tracking
- Location timeline
- Geofencing
- SOS-related location information
- Map-based location visualization
Location permissions must be granted by the user for location-dependent features to work.
LiveConnect uses Room Database for local data storage.
Local data models include:
- Friend information
- Chat messages
- Geofence information
- SOS alerts
- Travel points
- Synchronization data
The local database allows the application to maintain data locally while supporting cloud synchronization.
Supabase is used for cloud data synchronization.
The application includes a dedicated synchronization layer for communicating with Supabase and synchronizing application data.
Supabase configuration is loaded through BuildConfig and local configuration instead of storing credentials directly in source code.
LiveConnect integrates Google Gemini AI to provide an AI assistant experience inside the application.
The Gemini API key is loaded through local configuration and is not intended to be committed to the public repository.
Google Maps is integrated for location visualization and map-based features.
The Maps API key is loaded through local configuration:
MAPS_API_KEY
For security, the actual API key should never be committed to GitHub.
LiveConnect includes SOS and safety-related functionality designed to help users share location information during emergency situations.
The application supports:
- SOS alerts
- Location information associated with alerts
- Geofence-based functionality
- Emergency-related location visibility
Users can manage connections and interact with friends through the application.
Social functionality includes:
- Friend management
- Friend location visibility
- Chat
- Real-time data synchronization
The application maintains travel-related location information using locally stored travel points and synchronization with the cloud backend.
This allows location history and travel information to be represented through the application's timeline features.
Sensitive configuration files are excluded from version control.
The project ignores files such as:
.env.env.locallocal.propertiesgoogle-services.json- Android build directories
.gradle- IDE configuration files
- Keystore files
- Node modules
Never commit:
- API keys
- Passwords
- Private keys
- Release signing credentials
- Other sensitive credentials
The project contains unit tests and Android instrumented tests.
Test directories:
app/src/test/
app/src/androidTest/
LiveConnect includes screens and components for:
- ๐บ๏ธ Map
- ๐ฅ Friends
- ๐ฌ Chat
- ๐ค AI Assistant
- ๐งญ Timeline
- ๐จ Geofence & SOS
- ๐ Location visualization
The main goals of LiveConnect are:
- Real-time location awareness
- Social connections
- Communication
- Personal safety
- Travel tracking
- Geofencing
- AI-assisted interaction
- Local and cloud data synchronization
Potential future improvements include:
- Enhanced real-time synchronization
- Improved background location handling
- Better offline support
- Push notifications
- Advanced friend-location controls
- Detailed travel analytics
- Enhanced SOS workflows
- Additional AI-powered features
- Improved privacy controls
- Production deployment configuration
Ashish Mahadev Shedge
Software Engineer | Android & Full Stack Developer
GitHub: https://github.com/Ashish45188
This project is currently available for educational and portfolio purposes.
โญ If you find this project useful or interesting, consider giving the repository a star.