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

Modify Open mSupply to be a tool to detect & capture facility GPS data(by admins while deploying in the field - currently only possible via manual entry at central level) #6852

Open
2 tasks
jmbrunskill opened this issue Mar 5, 2025 · 3 comments
Labels
feature: GAPS Team Piwakawaka James, Carl, John, Zachariah, Ferg
Milestone

Comments

@jmbrunskill
Copy link
Contributor

jmbrunskill commented Mar 5, 2025

GPS Data

Accessing GPS data (web)
https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API

Accessing GPS data (capacitor/android)
https://capacitorjs.com/docs/apis/geolocation

Acceptance criteria

  • User is able to click a button to capture GPS co-ordinates
  • Co-ordinates would be synced to central server (How exactly is TDB)

Job Code
CCEIDEV

@jmbrunskill jmbrunskill added this to the v2.7.0 milestone Mar 5, 2025
@jmbrunskill jmbrunskill added feature: GAPS Team Piwakawaka James, Carl, John, Zachariah, Ferg Needs refinement labels Mar 5, 2025
@jmbrunskill
Copy link
Contributor Author

I'm thinking we can break this down in to sub issues, and start with an issue just to get the GPS co-ordinates and display in the link...

@jmbrunskill
Copy link
Contributor Author

@andreievg do you want to have a discussion about this one? Thinking we can potentially update the store's name record adding/update th GPS co-ordinates and sync it back to mSupply. We'll need to make sure the users have the appropriate permissions though and it's probably breaking sync rules...

@jmbrunskill
Copy link
Contributor Author

Agreed solution

Sync the GPS data as a name property to open-mSupply only

The data could be manually copied from there in to the Central mSupply Record if needed/required

Note: blindly updating the store name record could result in over-ridding data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: GAPS Team Piwakawaka James, Carl, John, Zachariah, Ferg
Projects
None yet
Development

No branches or pull requests

2 participants