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

Update AndroidManifest.xml to implement background location permission #1004

Closed
wants to merge 1 commit into from

Conversation

eplinux
Copy link

@eplinux eplinux commented Jan 11, 2020

In Android 10, a new permission is needed to access location in background.

In Android 10, a new permission is needed to access location in background.
@ghost
Copy link

ghost commented Feb 20, 2020

@mar-v-in can you please merge this asap? UnifiedNLP is currently not functional on Android 10 in the background.

@ploink
Copy link

ploink commented Mar 12, 2020

@mar-v-in I agree with @p4t44.
Some more details why we need it:

  • I forked Local-GSM-Backend and the only way I could get network location to work reliably with Osmand is to remove the COARSE_LOCATION permission requirement from the <service> tag in the manifest This means that microG, or any other app does not need any permission whatsoever to talk to the backend and get a location. As soon as this patch is merged and released I can close this security hole.

  • I have several apps that use Fused Location. Only when I take microG settings to the foreground they can briefly get a location, but short time after it has gone to the background, fused location stops working. I think this background location permission would fix that.

  • I used apktool to unpack the opengapps nano apk and it also has this permission in the manifest.

Thanks in advance.

@mar-v-in
Copy link
Member

mar-v-in commented Jul 9, 2020

This has been part of the big refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants