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

Exit navigation button in expanded notification widget #7492

Open
j13m126 opened this issue Feb 29, 2024 · 4 comments · May be fixed by #7953
Open

Exit navigation button in expanded notification widget #7492

j13m126 opened this issue Feb 29, 2024 · 4 comments · May be fixed by #7953
Labels
Android Android development Good first issue Good for newcomers Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing UX User eXperience, an issue with usability

Comments

@j13m126
Copy link
Sponsor Contributor

j13m126 commented Feb 29, 2024

⚠ Have you searched for similar, already existing issues?
yes

One thing I often miss in OM is a quick way to exit navigation mode. Swiping the widget in the notification drawer would be one way to quickly exit navigation mode once you arrive, but that may also lead to accidental exits.

What I would suggest is to implement an exit button in the (expanded) widget like in Google Maps and OSMAnd.

What do you think?

If you agree then his ticket could be added to the list #1104

notification widget collapsed
notification
notification widget expanded
notification2

@j13m126 j13m126 added Enhancement New feature or request, an improvement of some existing feature Android Android development UX User eXperience, an issue with usability Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing labels Feb 29, 2024
@Jean-BaptisteC Jean-BaptisteC added Good first issue Good for newcomers and removed Enhancement New feature or request, an improvement of some existing feature labels Feb 29, 2024
@Jean-BaptisteC
Copy link
Member

Jean-BaptisteC commented Feb 29, 2024

Good idea
A solution is to add action in the notification and call stopService method.
https://stackoverflow.com/questions/11270898/how-to-execute-a-method-by-clicking-a-notification

@biodranik
Copy link
Member

We need to start extracting and fixing individual tickets from that large meta issue :)

What exactly happens in Google Maps and OSMand after pressing that button? Navigation stops, notification disappears, the app is not activated, right?

@j13m126
Copy link
Sponsor Contributor Author

j13m126 commented Feb 29, 2024

So when Google Maps is running in foreground and 'exit navigation' is clicked the notification disappears and you get back to planning the previous route with option to select mode of transport and buttons to start and save it.
If you click exit navigation in Osmand (foreground) the apps shows the current location (as if you just started the app).

If Google Maps is minimized (picture in picture) and 'exit navigation' is clicked the notification disappears and it stays in the background.
If OSMAnd is in (full) background during navigation and the button is clicked, notification disappears and it also doesn't get reactivated.

@Jean-BaptisteC
Copy link
Member

Works has been started here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android development Good first issue Good for newcomers Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing UX User eXperience, an issue with usability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants