Voice navigation/routing instructions are not working in background/sleep mode #573

Closed
opened 2021-06-13 05:46:46 +00:00 by G-i-o · 13 comments
G-i-o commented 2021-06-13 05:46:46 +00:00 (Migrated from github.com)

Using on Lineage 17.1 based on Android 10.

When the phone locks and goes into sleeping mode, the voice disappear. I've noticed this on OM v2021.05.21 and it's still present on v2021.06.07

Using on Lineage 17.1 based on Android 10. When the phone locks and goes into sleeping mode, the voice disappear. I've noticed this on OM v2021.05.21 and it's still present on v2021.06.07
biodranik commented 2021-06-13 06:16:20 +00:00 (Migrated from github.com)

Did the voice work while locked in older versions?

Did the voice work while locked in older versions?
G-i-o commented 2021-06-13 06:38:48 +00:00 (Migrated from github.com)

I discovered OM on F-Droid where it started
appearing from v2021.05.21

On Sat, 2021-06-12 at 23:16 -0700, Alexander
Borsuk wrote:

Did the voice work while locked in older
versions?

You are receiving this because you authored the
thread.
Reply to this email directly, view it on GitHub,
or unsubscribe.

I discovered OM on F-Droid where it started appearing from v2021.05.21 On Sat, 2021-06-12 at 23:16 -0700, Alexander Borsuk wrote: > Did the voice work while locked in older > versions? > — > You are receiving this because you authored the > thread. > Reply to this email directly, view it on GitHub, > or unsubscribe.
tangsgod commented 2021-06-13 18:09:34 +00:00 (Migrated from github.com)

Hi G-i-o, I'm also using on Lineage 17.1 based on Android 10, mine is on a redmi note 8, but I can't get the voice working. Did you install MicroG ?

Hi G-i-o, I'm also using on Lineage 17.1 based on Android 10, mine is on a redmi note 8, but I can't get the voice working. Did you install MicroG ?
G-i-o commented 2021-06-13 18:28:30 +00:00 (Migrated from github.com)

Hi Tangsgod. No, I don't use Google services so my
Lineage installation was the bare one. All other
apps that have voice/sound/music running during
the lock state work except one (Breath). On this
the developer has already admitted that the app
need updating to something Android have changed in
the recent years and he's not sure how to do it.

He mentioned that the problem to overcome occurs
when the sounds to be played are not a sequence
like a in a playlist. So, i speculate that the
problem could be the same as on OM.

On Sun, 2021-06-13 at 11:09 -0700, tangsgod wrote:

Hi G-i-o, I'm also using on Lineage 17.1 based
on Android 10, mine is on a redmi note 8, but I
can't get the voice working. Did you install
MicroG ?

You are receiving this because you authored the
thread.
Reply to this email directly, view it on GitHub,
or unsubscribe.

Hi Tangsgod. No, I don't use Google services so my Lineage installation was the bare one. All other apps that have voice/sound/music running during the lock state work except one (Breath). On this the developer has already admitted that the app need updating to something Android have changed in the recent years and he's not sure how to do it. He mentioned that the problem to overcome occurs when the sounds to be played are not a sequence like a in a playlist. So, i speculate that the problem could be the same as on OM. On Sun, 2021-06-13 at 11:09 -0700, tangsgod wrote: > Hi G-i-o, I'm also using on Lineage 17.1 based > on Android 10, mine is on a redmi note 8, but I > can't get the voice working. Did you install > MicroG ? > — > You are receiving this because you authored the > thread. > Reply to this email directly, view it on GitHub, > or unsubscribe.
Owner

Navigation in background mode is not yet implemented on Android.

Navigation in background mode is not yet implemented on Android.
G-i-o commented 2021-06-16 08:03:44 +00:00 (Migrated from github.com)

It works for OsmAnd and OpenTracks.

On Tue, 2021-06-15 at 22:20 -0700, Roman Tsisyk
wrote:

Navigation in background mode is not yet
implemented on Android.

You are receiving this because you authored the
thread.
Reply to this email directly, view it on GitHub,
or unsubscribe.

It works for OsmAnd and OpenTracks. On Tue, 2021-06-15 at 22:20 -0700, Roman Tsisyk wrote: > Navigation in background mode is not yet > implemented on Android. > — > You are receiving this because you authored the > thread. > Reply to this email directly, view it on GitHub, > or unsubscribe.
Turbotomate commented 2022-04-12 07:04:58 +00:00 (Migrated from github.com)

I really thin this is an important feature! I still have to use Google Maps all the time because there is no navigation possible with OM for my needs. Most of the people i know use navigation with the screen turned off aswell.
Can we put together some things that have to be done, some things that are already finished and maybe a rough ETA?

I really thin this is an important feature! I still have to use Google Maps all the time because there is no navigation possible with OM for my needs. Most of the people i know use navigation with the screen turned off aswell. Can we put together some things that have to be done, some things that are already finished and maybe a rough ETA?
Tc-001 commented 2022-04-12 08:11:15 +00:00 (Migrated from github.com)

For the app https://github.com/kylecorry31/Trail-Sense, there is the option to allow location "all the time", we may need to add that for this to work.

Screenshot_20220412-105911_1_1

From a quick looks you would probably need the android.permission.ACCESS_BACKGROUND_LOCATION (055bc88fc8/app/src/main/AndroidManifest.xml (L15)) premission for this to work, that I don't see requested in fdf632e213/android/AndroidManifest.xml

May be 100% wrong, so feel free to correct me

For the app https://github.com/kylecorry31/Trail-Sense, there is the option to allow location "all the time", we may need to add that for this to work. ![Screenshot_20220412-105911_1_1](https://user-images.githubusercontent.com/55956895/162911500-61ab7d9f-dd00-402c-9e44-bb6ed0066535.png) From a quick looks you would probably need the `android.permission.ACCESS_BACKGROUND_LOCATION` (https://github.com/kylecorry31/Trail-Sense/blob/055bc88fc849adee70b4a453804449dcdcc8dd09/app/src/main/AndroidManifest.xml#L15) premission for this to work, that I don't see requested in https://github.com/organicmaps/organicmaps/blob/fdf632e213b88219411705fff775311a4e2c0c6d/android/AndroidManifest.xml May be 100% wrong, so feel free to correct me
towolf commented 2022-07-14 08:17:06 +00:00 (Migrated from github.com)

I was messing around a lot with the ancestor app and this one trying to get navigation to work when the phone is in my pocket. Seems like the background permission would be all that's needed?

I was messing around a lot with the ancestor app and this one trying to get navigation to work when the phone is in my pocket. Seems like the background permission would be all that's needed?
biodranik commented 2022-07-14 08:59:30 +00:00 (Migrated from github.com)

No, the background service should be user-visible to keep it always working.

No, the background service should be user-visible to keep it always working.
pm4rcin commented 2022-10-30 11:38:38 +00:00 (Migrated from github.com)

I think it's how OSMand has it implemented (not entirely sure) in manifest: https://github.com/osmandapp/OsmAnd/blob/master/OsmAnd/AndroidManifest.xml#L1130-L1140
But basically they have a silent notification which probably keeps it on foreground (take it with a big grain of salt) or notification is for other purposes.

I think it's how OSMand has it implemented (not entirely sure) in manifest: https://github.com/osmandapp/OsmAnd/blob/master/OsmAnd/AndroidManifest.xml#L1130-L1140 But basically they have a silent notification which probably keeps it on foreground (take it with a big grain of salt) or notification is for other purposes.
foss- commented 2023-01-05 21:52:21 +00:00 (Migrated from github.com)

This issue reads as if this should be working on iOS. Tested it, but similar to Android as soon as the screen is turned off, voice navigation remained silent on turns. Am I just missing a setting on iOS or should this issue be renamed since it is not limited to Android?

This issue reads as if this should be working on iOS. Tested it, but similar to Android as soon as the screen is turned off, voice navigation remained silent on turns. Am I just missing a setting on iOS or should this issue be renamed since it is not limited to Android?
biodranik commented 2023-01-06 08:51:05 +00:00 (Migrated from github.com)

You're right. I've corrected the title. Thanks!

You're right. I've corrected the title. Thanks!
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#573
No description provided.