microg / microg/GmsCore

Location service does not start by itself in LOS 17.1 (Android 10)

Open
#1,018 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

I am using LOS 17.1 (Android 10) on an Nexus 7 (2013) aka flo. MicroG components were installed as system apps using Magisk module "microG Installer Revived".

When I configure UnifiedNlp using Mozilla Location Service, location detection via Wifi works as expected. However, after not using any location app for a while respectively after a reboot location detection does not work anymore. It starts to work again, when I manually start Mozilla Location Service by going back into its settings. For some reason, Mozilla Location Service does not start by itself.

One thing I noticed: Location permission is allowed to microG only while in use instead of all the time. This cannot be changed in the settings. Could this be the reason for this strange behaviour? Maybe the manifest of MicroG Service Core needs to be updated such that location access is allowed all the time?

Any help would be greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on LOS 17.1 and Android 10 after a reboot or a period without using a location app. Start with UnifiedNlp, Mozilla Location Service, and the MicroG Service Core manifest and permission settings; done means location detection works without manually opening Mozilla Location Service.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.