An application for location-based attendance and management of the employees using geofencing
Link to Administrator Application
Add/Replace your google-services.json (downloadable from your firebase console) file into android/app directory. The project is built upon Real time database offered by Google Firebase. It is tailored right now according to our team needs. E.g. the login functionality is using an Employee ID, which we accomplished by mapping email ID to Unique ID (Employee ID). Enable the email authentication in the Auth Tab of Firebase Project.
The Location of the various sites are stored in the Location Stub of RTDB with key as unique ID and parameters as
Attendance will be added to the "Attendance" stub in the RTDB tree. Leave System has some specific parameters for every employee which is required to run the app.
I will attach a JSON sample file(in the root directory) which you can use to prepopulate sample data in the RTDB using Import JSON feature.
At last, Kindly update the google API key in the android manifest and enable the necessary Maps API on your API console. Google Developer API console
Push Notifications has been enabled in the application to provide update regarding the Leave Application from Manager.
# Install firebase in the node environment
npm install -g firebase-tools
# Login into firebase
firebase login
# Deploy the functions. Move to Cloud directory and perform this operation
firebase deploy
For more info, please refer: Firebase Cloud Functions
# Install the dependencies
flutter pub get
# Run the project
flutter run