https://github.com/eklavya47/geofencing-flutter-app
A location-based app built using Flutter with Firebase Authentication for secure login. The app allows users to fetch their current coordinates, set a custom geofence radius, and receive notifications when they step outside the defined boundary. It also integrates a map view to visualize the userβs location and geofence in real-time.
https://github.com/eklavya47/geofencing-flutter-app
dart firebase firebase-auth flutter flutter-apps geofencing google-maps location-services multiplatform
Last synced: 2 months ago
JSON representation
A location-based app built using Flutter with Firebase Authentication for secure login. The app allows users to fetch their current coordinates, set a custom geofence radius, and receive notifications when they step outside the defined boundary. It also integrates a map view to visualize the userβs location and geofence in real-time.
- Host: GitHub
- URL: https://github.com/eklavya47/geofencing-flutter-app
- Owner: Eklavya47
- Created: 2025-05-29T08:45:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-21T07:27:34.000Z (about 1 year ago)
- Last Synced: 2025-09-01T03:27:39.328Z (10 months ago)
- Topics: dart, firebase, firebase-auth, flutter, flutter-apps, geofencing, google-maps, location-services, multiplatform
- Language: C++
- Homepage:
- Size: 334 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π GeoFence Flutter App
A location-based app built using Flutter with Firebase Authentication for secure login. The app allows users to fetch their current coordinates, set a custom geofence radius, and receive notifications when they step outside the defined boundary. It also integrates a map view to visualize the userβs location and geofence in real-time.
# β¨ Features
- π **User Authentication** β Secure login and signup functionality
- π **Real-time Location Tracking** β Monitor current location
- πΊοΈ **Maps Integration** β Visual location tracking with Google Maps
- π‘οΈ **Geofencing** β Create a custom-radius geo-fence around your current location.
- π **Alert on Exit** β Receive an alert when you step outside the geofence boundary.
- π± **Cross-Platform** β Works on both Android and iOS
# βοΈ Tech Stack
- **Framework**: Flutter
- **Language**: Dart
- **Authentication**: Firebase Auth
- **Maps**: Google Maps Flutter
- **Location Services**: Geolocator, Geocoding
- **Local Notifications**: Flutter Ringtone Player
- **Platform Support**: Android, iOS, Web
# π Project Structure
- **lib/**
- `main.dart`: Application entry point
- `login.dart`: User authentication screen
- `signup.dart`: New user registration
- `forgot.dart`: Password recovery
- `homepage.dart`: Main application screen
- `maps.dart`: Maps integration
- `location.dart`: Location tracking logic
- `geolocator.dart`: Geolocation services
- `wrapper.dart`: Authentication state management
# π Getting Started
Follow these steps to run the project locally:
1. Clone the repository
2. Open the project in VS Code or Android Studio
3. Ensure Flutter is installed on your system
4. Run `flutter pub get` to install dependencies
5. Configure your Firebase project and add necessary API keys
6. Run the app using `flutter run`
# π§ Requirements
- Flutter SDK (Latest version)
- Dart SDK
- Android Studio / VS Code with Flutter and Dart plugins
- Firebase project setup
- Google Maps API key
- Minimum SDK: Android 21, iOS 11
# π€ Contributing
Contributions are welcome! If you'd like to improve the app or add new features, feel free to fork the repository and submit a pull request.