Skip to main content

Command Palette

Search for a command to run...

Geo Attendance App: A Location-Based Attendance System Built with Flutter

Updated
2 min readView as Markdown
M

Mantresh Khurana is the Founder & CEO of Spyxpo, a visionary entrepreneur, and a full-stack developer with a passion for pushing the boundaries of technology. With expertise in web, mobile, desktop, and embedded systems, he excels at mastering emerging technologies that drive innovation. His work is defined by a commitment to developing cutting-edge solutions that transform industries and shape the future.

Geo Attendance App: A Location-Based Attendance System Built with Flutter

I built Geo Attendance App to explore how geolocation can be used to make attendance tracking more reliable. Instead of allowing users to mark attendance from anywhere, the app verifies their location before recording attendance.

The project is built with Flutter and Firebase, making it easy to run on multiple platforms while providing real-time data storage and authentication.

Features

  • GPS-based attendance verification

  • Firebase Authentication for secure login and registration

  • Google Maps integration for location verification

  • Attendance records stored in Cloud Firestore

  • Admin dashboard to view attendance logs and reports

  • Responsive Flutter interface

Tech Stack

  • Flutter

  • Dart

  • Firebase Authentication

  • Cloud Firestore

  • Google Maps API

  • Provider / Riverpod for state management

Getting Started

Clone the repository:

git clone https://github.com/mantreshkhurana/geo\_attendance\_app\_flutter.git cd geo_attendance_app_flutter

Install the required packages:

flutter pub get

Configure Firebase:

  • Create a Firebase project.

  • Download google-services.json for Android and GoogleService-Info.plist for iOS.

  • Place the files in the appropriate project folders.

Run the application:

flutter run

How It Works

User Authentication

The app uses Firebase Authentication so users can register and sign in securely.

Location Verification

The user’s current location is retrieved using the geolocator package and displayed through Google Maps. Attendance can only be marked when the user is inside a predefined attendance area using geofencing.

Attendance Records

When a user checks in, the app stores the location, date, and time in Cloud Firestore. This allows administrators to review attendance history whenever needed.

Admin Dashboard

The dashboard provides access to attendance logs and reports, making it easier to monitor attendance for specific users or dates.

Why Use It?

This project can be useful for organizations, schools, or businesses that want a simple location-based attendance system.

Some of its benefits include:

  • Prevents attendance from unauthorized locations

  • Automates attendance tracking

  • Improves transparency and accuracy

  • Can be adapted for workplaces, schools, or remote teams

Future Improvements

Some features I’d like to add include:

  • Offline attendance with automatic syncing

  • QR code check-in for additional verification

  • Push notifications and attendance reminders

Contributing

The project is open source, and contributions are welcome. If you have ideas for improvements or find a bug, feel free to open an issue or submit a pull request.

GitHub: https://github.com/mantreshkhurana/geo\_attendance\_app\_flutter

More from this blog