Skip to content

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

@biodranik

Description

@biodranik

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions