Kurviger.de | Application | Blog | Frequently Asked Questions (FAQ) | Legal Notice | Privacy Policy

Android Q preparation

So, Android Q is out in Beta and on Sunday I did the first tour with Kurviger on it. Let’s just say I was lucky that I had a power bank with me :smiley:

Unfortunately, as soon as I turned the screen off (seconds after) Kurviger did not receive a precise location anymore. The voice was telling me that it was recalculating the route constantly. When turning the screen on it took less then a second for the dot to jump back to the correct position.

So there’s a reason I called this thread “preparation”, and not “Problems!!”, I’m using a Beta version, it’s totally fine. Just dropping you a hint that it’s probably because you’re missing a permission:
https://developer.android.com/preview/privacy/device-location

<manifest>
  <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
</manifest>

It says in the text that if you don’t target Api 29 then it should auto-add the permission but… when has the docu ever stopped an Android Beta from misbehaving… :smiley: so I guess this is the reason for my troubles

Best of luck with the new version!

Android Q has again behavior changes, but its release is still far away.

Also we use a foreground service, so something else would be needed.

Yeah as I said just dropping you a hint.
Also: the foreground service alone is not good enough anymore, believe me we’re fighting with this as I speak as well, here at my work