In many places of GmsCore, Constants.GMS_PACKAGE_NAME is used when the app package name is expected. When building the user flavour, this package name remains hardcoded. This does not look to be intended.
Here is an example:
https://github.com/microg/GmsCore/blob/master/play-services-maps/core/mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/utils/MultiArchLoader.kt#L45
Another:
https://github.com/microg/GmsCore/blob/master/play-services-base/src/main/java/com/google/android/gms/common/GooglePlayServicesUtil.java#L140
For both, the constant should point to the app's package name, so when the user flavour is used, the user flavour package name is used.
In many places of GmsCore,
Constants.GMS_PACKAGE_NAMEis used when the app package name is expected. When building the user flavour, this package name remains hardcoded. This does not look to be intended.Here is an example:
https://github.com/microg/GmsCore/blob/master/play-services-maps/core/mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/utils/MultiArchLoader.kt#L45
Another:
https://github.com/microg/GmsCore/blob/master/play-services-base/src/main/java/com/google/android/gms/common/GooglePlayServicesUtil.java#L140
For both, the constant should point to the app's package name, so when the user flavour is used, the user flavour package name is used.