microg / microg/GmsCore

Is there a way to programmatically detect that MicroG is installed instead of Google Location Services?

Open
#2,989 2 comments 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

What is the correct way to implement in Java or Kotlin:

if (IsMicroGInstalled())
   // …
else
   // …

?

Context: To disable the use of Google Fused Provider in Organic Maps when MicroG is installed, because MicroG, for some reason (not being installed with a system permission?), doesn't handle it properly.

Related issues:

P.S. Sorry for creating the issue. I did not find any other way to contact MicroG contributors (Discussions are disabled).

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

The issue names no source file, test, or entry point. Start by reviewing the linked MicroG and Organic Maps issues, then identify the Android-side integration point for Google Fused Provider and define how detection should affect its use; done means an agreed, tested way to distinguish MicroG from Google Location Services.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.