microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.69k stars 1.73k forks source link

How to use the user flavour #2568

Open oSumAtrIX opened 1 month ago

oSumAtrIX commented 1 month ago

As I understand, the user flavor of GmsCore uses a different package name so that a user can install it following an existing installation of GMS. Applications can then use the libraries instead of relying on Google and their services.

From my experience, GmsCore was conflicting with GMS when installed side by side with a different package name, so my question is, does the user flavor handle such cases? In the past, GmsCore has also allowed package signatures, such as those of Google. Does the user flavor turn that off? Say I want to access libraries only intended for Google apps.

GmsCore now also has a package override feature. When should the request to override be made? On first launch?

david79111 commented 3 weeks ago

@oSumAtrIX So if I understand this correct you tried to use microg services and gms services at the same time. In that case: microg is not meant to be used alongside gms but is meant to replace it, as far as I know

Also, I've never heard of such a thing of different flavors of microg I only know that there are different types of microg apart from the standard one like a huawei/hms version of microg and one or two other versions.

If I got you wrong, be more specific about what you mean with user flavor and what exact package(names) you're talkin about and also provide some links or screenshots if that makes it easier to explain.

oSumAtrIX commented 3 weeks ago

microg is not meant to be used alongside gms but is meant to replace it, as far as I know

Refer to the Pr description https://github.com/microg/GmsCore/pull/2188

ale5000-git commented 3 weeks ago

The apps compiled with microG libraries should be able to work with both standard microG and user microG while apps compiled with official Google libs not. I think it is possible that the apps can be patched to work with user microG but it isn't a tested configuration and also this code is relatively new so I guess there still can be bugs/limitations.

oSumAtrIX commented 3 weeks ago

while apps compiled with official Google libs not.

The reason I am asking is connected to how I intend to use the user flavor. Apps relying on GMS can be modified to use microG GmsCore, as you said, which is what I will do.

What would be the answer to this:

GmsCore now also has a package override feature. When should the request to override be made? On first launch?