microg / microg/GmsCore

[FR] Option/button to re-ask for location permission

Open
#1,021 0 comments 1 reaction 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

Hi,

I almost exclusively use LineageOS or LineageOS-derived ROMS (such as /e/ : https://e.foundation/), with LineageOS Trust/Privacy Guard/AppOp permission control.

What I usually do when setting up a new device (I do this a lot) is go to Settings/Privacy and enable Trust for all apps by default, then check system apps too.

If I do this before starting MicroG Settings for the first time, everything’s fine.
But if I somehow forget to do it, especially after installing/activating locations backends, I end up in a quagmire of lost/unasked location permissions for GmsCore and its location backends, and eventually the infamous "UnifiedNlp has no location" (#366).

Recovering from that state without reinstalling usually means resorting to ADB commands, Xposed modules (such as AppOpXposedRe) or Magisk modules. I always manage to find a way, but damn, it’d be SO handy to have an option in MicroG to re-ask for location permission (ideally for both GmsCore and the miscellaneous NLP backends) and save me hours of hassle. :-)

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

Start by reading the MicroG Settings permission flow and the handling of GmsCore and miscellaneous NLP location backends, using the related UnifiedNlp location issue (#366) for context. Done means providing an in-app option to re-ask for location permission for GmsCore and, ideally, the relevant location backends without requiring ADB or external modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.