Skip to content

feat(formplayer): capture GPS in-form via requestLocation bridge#622

Merged
najuna-brian merged 5 commits intoOpenDataEnsemble:devfrom
najuna-brian:feature/gps-form-field-capture
May 2, 2026
Merged

feat(formplayer): capture GPS in-form via requestLocation bridge#622
najuna-brian merged 5 commits intoOpenDataEnsemble:devfrom
najuna-brian:feature/gps-form-field-capture

Conversation

@najuna-brian
Copy link
Copy Markdown
Contributor

Description

Enables in-form GPS capture for JSON Forms fields that use format: "gps". Tapping capture calls the existing React Native → WebView requestLocation bridge, then stores coordinates (and related fields) as a JSON string on that control path. Observation-level geolocation on save is unchanged (you can still have both).

Notes / non-goals

  • Does not remove or replace observation geolocation on submit.
  • Forms that do not define a GPS field are unaffected.

@najuna-brian najuna-brian marked this pull request as ready for review May 2, 2026 12:22
@najuna-brian najuna-brian requested a review from r0ssing May 2, 2026 12:22
r0ssing
r0ssing previously approved these changes May 2, 2026
@najuna-brian najuna-brian requested a review from r0ssing May 2, 2026 15:26
Copy link
Copy Markdown
Contributor

@r0ssing r0ssing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@najuna-brian najuna-brian merged commit 23aa3a0 into OpenDataEnsemble:dev May 2, 2026
11 checks passed
@najuna-brian najuna-brian deleted the feature/gps-form-field-capture branch May 2, 2026 15:47
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.

2 participants