Skip to content

Add setgeopoint action #507

@lognaturel

Description

@lognaturel

Blocked by #303

Description

The setgeopoint action can be triggered by the odk-instance-first-load, odk-new-repeat, xforms-value-changed events. It captures the best accuracy point in a 20s window after the event was fired.

ODK XForms spec: https://getodk.github.io/xforms-spec/#events

User-facing docs:


Checklist

  • Does it need UI/UX design?
    • Yes. Describe the UI/UX requirements or attach a Figma link in the "Design" section.
      Maybe. We could add some messaging around providing permissions. In Collect there's a notice that the location is being captured in the background
    • No
  • Does it need API design?
    • Yes. Specify the endpoints, methods, or data structures needed.
      The client needs to be able to provide an implementation for getting user location and may need to know about the action in order to provide messaging.
    • No
  • Does it need design around state flow?
    • Yes. Outline the state flow requirements.
      The client will need to know whether permissions have been granted
    • No
  • Does it need a test plan?
    • Yes. Add the test plan as a comment in this task or attach the document.
    • No

User Stories

  • As a form designer,
    I want to capture form users' location in the background,
    so that I can audit their behavior or get locations of points of interest without requiring user intervention.

Design

  • Figma: [Insert URL]
  • Design Docs: [Insert URL]

Dependencies


Additional Notes


Related Issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Next

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions