Skip to content

Conversation

@otwacam
Copy link
Contributor

@otwacam otwacam commented Dec 28, 2025

Changes the "Navigate" button to "Open in another app" and update functionality to allow the coordinates to be opened in other map-based apps instead of just Google Maps.
Sharing coordinates with another app uses the geo URI scheme which is supported by most apps. The zoom level query parameter is used but is not supported by all apps.

app_button share_app_selection share_app_google share_app_comaps

@otwacam
Copy link
Contributor Author

otwacam commented Dec 28, 2025

For potential further discussion I had considered replacing the "Navigate" button with this new functionality but was reluctant to replace the existing functionality before discussion.
The existing Navigate button currently only works with Google Maps and allows a single click to open the app and start navigation. This is not functionality exposed by every app and would potentially require changes for each one even if they do support that.
If this was to be replaced it would mean it would require being in the target app and then pressing navigate from there but it would be a single button that is app-agnostic. As you can see from the screenshots above Google Maps opened the location with the Directions button ready to be selected.
Interested if there would be any desire to change this.

@otwacam otwacam force-pushed the contact-coords-separate-app branch from a8e55e1 to 77aea69 Compare December 28, 2025 13:33
@growse
Copy link
Collaborator

growse commented Dec 31, 2025

Very much like the idea of this being more app-agnostic. I'm not a huge fan of multi-fab buttons though, as I think it's a little confused.

The "share" button currently shares the current location in text format, I wonder if the right answer is to update the navigation button with more specific sharing to location-based apps (e.g. Osmand, gmaps etc.)? Feels more useful that hard-coding the gmaps navigate intent.

@growse growse added the contribution-from-a-human A human made this. label Dec 31, 2025
@otwacam
Copy link
Contributor Author

otwacam commented Dec 31, 2025

The app-agnostic approach is also my preference.

I do think that the answer is to change the Navigation button to something like "Open in another app" with this new functionality for the location-based apps. From looking at other apps there seem to be a mixture of those who use the share button to open a sub-menu with different ways to share or having it just share the text as the Owntracks app already does. Seeing as we already have a Navigate button it does feel best to change what already exists.

I'll remove the share button change and update the Navigation button.

@otwacam otwacam force-pushed the contact-coords-separate-app branch from 77aea69 to d8c36a9 Compare December 31, 2025 18:39
@otwacam otwacam force-pushed the contact-coords-separate-app branch from d8c36a9 to 982ba77 Compare January 4, 2026 18:54
@otwacam
Copy link
Contributor Author

otwacam commented Jan 4, 2026

Finalised the discussed changes. Should be good for another review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution-from-a-human A human made this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants