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

Missing "turn screen on" option in osmand 3.3.4 #6675

Closed
bluescreen303 opened this issue Mar 14, 2019 · 60 comments

Comments

@bluescreen303
Copy link

commented Mar 14, 2019

I recently upgraded both osmand (to 3.3.4) and android (to 9.0 pie) and can no longer find the "turn on screen before turn" feature in settings > navigation.

Should it still be there? Or was it moved?

@dmpr0

This comment has been minimized.

Copy link
Contributor

commented Mar 14, 2019

Hello @bluescreen303!
The current release doesn't include this feature, we had to remove this option because of Google Play rules about the permission needed to that action. We are trying to find a solution to get it back.

@vshcherb vshcherb added this to the Future milestone milestone Mar 14, 2019
@go4tidal

This comment has been minimized.

Copy link

commented Mar 18, 2019

Hope this feature can be restored as soon as possible. It's one of the best and most useful features in OSMAND navigation.

@bluescreen303

This comment has been minimized.

Copy link
Author

commented Mar 18, 2019

Is the feature also disabled in the build on f-droid? since google's store rules aren't applicable there

@topas-rec

This comment has been minimized.

Copy link

commented Mar 20, 2019

I'm on 3.3.5 from fdroid and I'm missing the feature, too. That feature is one of the things I use when advertising for osmand.

  • saves battery
  • Makes you concentrate on the street when riding at night
@hvdwolf

This comment has been minimized.

Copy link
Contributor

commented Mar 20, 2019

If it is an android permission, it has nothing to do with the Play Store or Fdroid.
In every new Android release some permissions change, are split up to make it more precise for the desired action, or completely removed. In Android 9 there some changes w.r.t. screen rotation also "touching" the lock screen.
Maybe that is what they mean.

@bluescreen303

This comment has been minimized.

Copy link
Author

commented Mar 22, 2019

@hvdwolf it appears (from #6721) that it really is about play store rules and not generic android permissions. The fact that latest osmand also doesn't show this option on android 7 and 8 is another indication it's not related to android permissions themselves.

Play store has additional rules about for what reasons certain permissions are meant/allowed and apparently the "device administrator" permission isn't meant for simple screen on/off management as it is somewhat overkill :) But as there is no obvious other permission that would give the desired functionality, I think google is somewhat overstepping by disallowing first, coming up with alternatives later.

So it would be perfectly possible to just keep on using the device admin android permission and just not ship it through play store. However, maintaining 2 forks might not be something people are fond of.

@hvdwolf

This comment has been minimized.

Copy link
Contributor

commented Mar 22, 2019

I see.

@bluescreen303

This comment has been minimized.

Copy link
Author

commented Mar 22, 2019

another solution might be to just move the functionality to a plugin with needed permissions and then distribute that plugin as a manually-installable apk.

@hvdwolf

This comment has been minimized.

Copy link
Contributor

commented Mar 24, 2019

That plugin apk could be downloadable and installable from inside OsmAnd as well. That is not too difficult.

Another option is to programmatically lower the screen brightness to its lowest value, and when neccessary (or when user touches the screen) to restore it to its original brightness. That would at least lower the energy consumption a lot.

@skystis

This comment has been minimized.

Copy link

commented Mar 24, 2019

When riding with bicycle this feature is necessary.
Please make plugin, as workaround.

@mpotse

This comment has been minimized.

Copy link

commented Mar 24, 2019

Without this option osmand is unusable for cycling. With the screen continuously on the battery lasts only an hour or so; even with a hub dynamo it would lose charge. Leaving it off is not possible either: the spoken instructions are often ambiguous or misleading so a visual check is necessary. And manually switching it on at every turn is cumbersome and sometimes dangerous. Often the phone is locked by then. I downgraded to 3.2.

If this is going to be fixed it would be nice if another issue could also be solved: when something else turns on the screen during navigation, osmand will keep it on forever.

@mircozorzo

This comment has been minimized.

Copy link
Contributor

commented Mar 27, 2019

So please also for car navigation it's very important.
Give it back, please.

@JohnnnyBeGoood

This comment has been minimized.

Copy link

commented Mar 29, 2019

I see two (or maybe three) issueshere:

  1. How can Google impose on developers through "Play store rules" how they can/should develop apps
    Why is nobody protesting? Why is everybody, and obviously osmand, just taking it?
  2. Why don't developers, like osmand just move their software to some other store to avoid Google's diktat?
  3. Why does osmand not tell us about removed features and lets us discover that ourselves like idiots?
    Sorry for the idiot but that's how I feel when I have to browse through all the options just because someone "forgot" to mention that features are gone. And how about a plan for getting the functionality back?

Like the others said, for cycling osmand is almost unusable now, as with the screen permanently on the battery barely lasts 1.5 hours.

@pebogufi

This comment has been minimized.

Copy link

commented Mar 29, 2019

FULLY AGREE !!!

@fabriziobertocci

This comment has been minimized.

Copy link

commented Apr 5, 2019

Joining the voices here. This feature is very important for bikeriding. It allows to save batteries and at the same time allow for a visual validation of where you are going.

[EDIT] - One (not so great) solution is to download the latest 3.2 release from here: https://osmand.net/downloads and manually install it. I just did it (installed with the help of Airdroid), and the "Turn Screen On" option is back.

@burn2k

This comment has been minimized.

Copy link

commented Apr 6, 2019

With this option, my main reason for using the app while cycling is gone.
Please bring it back, in the main app, as plug in or over f-Droid-, but don't let Google destroy this awesome app for cycling. I use Osmand Plus 3.3.7

@prinf

This comment has been minimized.

Copy link

commented Apr 6, 2019

Voting for this as well. The super important feature that saves phone battery and doesn't allow my phone to overheat when navigating.

@mircozorzo

This comment has been minimized.

Copy link
Contributor

commented Apr 7, 2019

One more voice for the return of this great feature.

@guillaumedc

This comment has been minimized.

Copy link

commented Apr 7, 2019

What about a dual build?
One compliant with Google Play Store rules and one another for F-droid?

At least, could you point out which commit remove this feature?
Or how it is possible to make our own build without this restriction?

@vshcherb vshcherb modified the milestones: Future milestone, 3.4 Apr 7, 2019
@vshcherb vshcherb changed the title missing "turn screen on" option in osmand 3.3.4 on android pie Missing "turn screen on" option in osmand 3.3.4 Apr 7, 2019
@vshcherb

This comment has been minimized.

Copy link
Member

commented Apr 7, 2019

The discussion will be locked in case it will be too many similar replies.
We are working on solution will be provided in 3.4 though most likely it will be a separate plugin.

@meden

This comment has been minimized.

Copy link

commented Apr 18, 2019

I hit this today, during a trip in motorcycle. Thanks for considering as high priority, and for setting the next release as milestone, but maybe this in not enough for all users (i.e. others than car drivers).

If it's just a Play Store rule, then please seriously consider a different build for it, leaving the application uncrippled in other stores (e.g. I bought the paid version on Amazon, and honestly I'm quite disappointed now...). And please, in the future state clearly such kind of "downgrades", blaming who has to be blamed and avoiding bad surprises to the users.

Thanks for your amazing work.

@vshcherb

This comment has been minimized.

Copy link
Member

commented Apr 18, 2019

Please use free version alongside next to the paid version which you can downgrade https://download.osmand.net/downloads. You can use Share storage, so you will be able to download maps through paid version

@lead-legs

This comment has been minimized.

Copy link

commented Apr 29, 2019

Hi, can someone please explain how to use the downgraded free version next to the paid version.
Whenever I try to manually set the folder to net.osmand.plus which has all the data in, I get the error message, unable to create maps folder.
Thanks.

@mpotse

This comment has been minimized.

Copy link

commented Apr 29, 2019

@crimean crimean closed this Jul 6, 2019
@DrVanScott

This comment has been minimized.

Copy link

commented Jul 13, 2019

I am currently using 3.2.7. When will the plug-in be available?

@crimean

This comment has been minimized.

Copy link
Collaborator

commented Jul 13, 2019

@DrVanScott Please update OsmAnd to latest version.

@phillord

This comment has been minimized.

Copy link

commented Jul 13, 2019

The option is there, but greyed out with no description about how to enable it. I guessed this is because there is a plugin to install, but I cannot find the plugin in the plugin menu either.

Confused.

@enricotagliavini

This comment has been minimized.

Copy link

commented Jul 13, 2019

Look at the following option (name "Time"), it's the time the screen will stay on, set it to any value other than zero and the feature will be enabled. Tried it the day it was out and it worked, I'm really glad.

Thank you very very much for implementing this feature again!

@flyinva

This comment has been minimized.

Copy link

commented Jul 13, 2019

Neither plugin nor option in OsmAnd 3.4 from f-droid.org :-(

@mircozorzo

This comment has been minimized.

Copy link
Contributor

commented Jul 13, 2019

@Zahnstocher

This comment has been minimized.

Copy link
Contributor

commented Jul 13, 2019

@DrVanScott
@flyinva

Neither plugin nor option in OsmAnd 3.4 from f-droid.org :-(

3.4.2 is needed, 3.4.0 is too old.
"turn screen on" was integrated into OsmAnd, there is no plugin.

@Policjant

This comment has been minimized.

Copy link

commented Jul 13, 2019

So when we can expect the 3.4.2 version on the f-droid?

@phillord

This comment has been minimized.

Copy link

commented Jul 13, 2019

@enricotagliavini Thank you, that does indeed work.

@hvdwolf

This comment has been minimized.

Copy link
Contributor

commented Jul 14, 2019

@Zahnstocher

This comment has been minimized.

Copy link
Contributor

commented Jul 14, 2019

So when we can expect the 3.4.2 version on the f-droid?

3.4.2 is available on F-Droid now.

@Policjant

This comment has been minimized.

Copy link

commented Jul 14, 2019

You are right but now when I am selecting the GPX file Osmand~ the program always crash and shut down.

@Zahnstocher

This comment has been minimized.

Copy link
Contributor

commented Jul 14, 2019

You are right but now when I am selecting the GPX file Osmand~ the program always crash and shut down.

This is a different issue.
Probably it will be fixed in 3.4.3:
#7242
#7233

@Policjant

This comment has been minimized.

Copy link

commented Jul 14, 2019

I see that the basic version has now update to 3.4.3 ;-) so we have to wait for f-droid ;-)

@Themanwithoutaplan

This comment has been minimized.

Copy link

commented Jul 15, 2019

Questions regarding F-Droid are totally irrelevant. Especially if you're using F-Droid you should be able to sideload an APK directly but otherwise all such enquiries should be directed to F-Droid.

Regarding the fix itself: works great, as does the proximity detection. Thanks very much guys!

@florian29

This comment has been minimized.

Copy link

commented Jul 17, 2019

I've tried it today with 3.4.2 from f-droid and it doesn't work the way it should. The screen turns on one time and stays on the whole time and not only the seconds which are set in the time option. You have to turn off the screen manually and the next time it goes on by itself and stays on again the whole time. In addition the navigation screen now misses the upper left part where has been the arrow for the next turn. There only appears the small box with the arrow for the second turn. This is useless.

@bluescreen303

This comment has been minimized.

Copy link
Author

commented Jul 17, 2019

@enricotagliavini

This comment has been minimized.

Copy link

commented Jul 17, 2019

I also got the lock screen shown a couple of times on Android 9, and this was in portrait mode, not in landscape. I'm not sure what triggered it, I had the phone in my hands and I think I might have touched the screen or a button. Hard to say if it was that or phone trying to rotate due due accelerations making it believe to be in landscape mode.

@Themanwithoutaplan

This comment has been minimized.

Copy link

commented Jul 17, 2019

I'm using the normal play store version for osmand+ on a moto g6 plus (android 9) Turning the screen on works fine in portrait mode, but in landscape, I see it light up portrait, instantly turn to landscape, which somehow triggers the lock screen, blocking osmand from view. So, great to at least have something working again, but not in full yet.

I've had that kind of screen-locking before and I think it's a separate issue. A lot of apps struggle when waking up in to landscape mode: they will start in portrait mode and then switch. Occasionally OsmAnd would start constantly switching between itself and lock mode and the only solution was to try and hit the home button at the right time. But I haven't had this for a while since I haven't had any predominantly East-West tracks and cannot currently mount my phone horizontally, and even then enabling the adaptive compass is usually the best solution.

It can, however, help to disable orientation switching.

@AndyGHenderson

This comment has been minimized.

Copy link

commented Jul 18, 2019

I've tried it today with 3.4.2 from f-droid and it doesn't work the way it should. The screen turns on one time and stays on the whole time and not only the seconds which are set in the time option. You have to turn off the screen manually and the next time it goes on by itself and stays on again the whole time.

Seeing this too. Still not working right after installing bug fix releases (now on 3.4.4). See also thread in Google Groups.

Using Motorola G3 with Android 6.0.1

Andy

@lead-legs

This comment has been minimized.

Copy link

commented Jul 18, 2019

I've tried it today with 3.4.2 from f-droid and it doesn't work the way it should. The screen turns on one time and stays on the whole time and not only the seconds which are set in the time option. You have to turn off the screen manually and the next time it goes on by itself and stays on again the whole time. In addition the navigation screen now misses the upper left part where has been the arrow for the next turn. There only appears the small box with the arrow for the second turn. This is useless.

I have exactly the same problem - I'm not using F-Droid, I'm using the Google Play version. I set the seconds but the screen turns on but doesn't turn off.

@phillord

This comment has been minimized.

Copy link

commented Jul 18, 2019

I also am not getting good functionality from this. It did seem to work initially, but it seems to fail on in car usage, partly I think because of the screen re-orientation. What actually happens: a lock screen notification comes up (in portrait, although in car I am in landscape), the screen unlocks shortly after in portrait, OSMand becomes visible in portrait, the screen re-orients which takes a second or two, then immediately falls back into lock screen. All this is a bit distracting, and the screen is not visible for long enough to see directions.

I also think that the timing options are a bit strange and too granular. In car, 10 seconds to 5 mins would be a better spread; at 5 mins, it would stay on in town, and switch off on motorway which would be good behaviour for me.

@florian29

This comment has been minimized.

Copy link

commented Jul 29, 2019

The issue isn't solved in version 3.4.5 yet. The screen turns on but doesn't turn off. At least the issue with the navigation panel is now solved.

@Policjant

This comment has been minimized.

Copy link

commented Jul 29, 2019

Yep, still the same problem. The screen wake up but do not dim again. On the old versions the application was asking each time when I was enable this fuction for special permissions to manage screen... now does not do it and only waking up screen working without automatically turn off.

My navigation phone is using Android 5.0.1

@lead-legs

This comment has been minimized.

Copy link

commented Jul 29, 2019

I opened a new issue as this issue has apparently been closed.
https://github.com/osmandapp/Osmand/issues/7315

@florian29

This comment has been minimized.

Copy link

commented Jul 30, 2019

I opened a new issue as this issue has apparently been closed.
https://github.com/osmandapp/Osmand/issues/7315

The link is dead.

@scaidermern

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2019

I opened a new issue as this issue has apparently been closed.
https://github.com/osmandapp/Osmand/issues/7315

The link is dead.

Probably a GitHub bug. See #7315.

@benaxe

This comment has been minimized.

Copy link

commented Aug 16, 2019

I have 3.4.6 installed. If you leave voice on and mute the volume on the phone the screen switches off properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.