Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location trigger#84 #148

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

sommye-ctr
Copy link
Collaborator

Related Issue

Closes #84

Type of Change

Put x inside the square bracket to specify what type of change your PR is:

  • New Feature

Description of Change

Enables user to attach its current location to a task. On the next startup of app session, the user's current location is detected and if it is within 50 m of the location attached to the task - task is marked as completed.

Implementation Details

geolocator is used to get location of the user and new fields - lat and lng are added to task model.

Demo

Screen.Recording.2025-01-05.at.4.44.15.PM.mov

@pranavkonidena
Copy link
Member

@sommye-ctr This doesn't make sense to me? Why would you mark a task as completed based on location?

@sommye-ctr
Copy link
Collaborator Author

@pranavkonidena as discussed in the related issue, it is a feature which is quite niche and with the current implementation, it is not very useful. It could be useful if the user is given an option to select a location of his choice and on going there he would be notified of that specific task (or maybe mark it as complete on its own). I did not go with letting the user select a place of his own since it would require to setup apis and billing account(probably google maps).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat]Enable Location based task trigger.
2 participants