feat: Add Maps support - #187
Conversation
|
Are there any apps with GmsCore patches to test this with? |
|
We plan to soon release an alternative microG that has all upstream microG features, and leave RE as the minimal variant for YT users and people who don't need the "big mama" microG variant. This PR adds 86,000(!) lines of code to RE. After we have a full microG release the RE changes here would be redundant and weigh down the otherwise lightweight RE. The changes here also bring in uncertainty of future maintenance and code auditing |
Maybe Google Photos. Maps broken on it after patched and can not see location after photo got uploaded/backuped |
|
We can push this code to a feature branch, and make a one off build that anyone can use if they need it. The built microG.apk won't be in the GitHub release section but will be available as a direct link in a GitHub action, and if a third party dev needs to recommend it they can link to it. And since it'll have the same signing key it'll be a direct upgrade of the regular RE release. We can leave the branch as-is until we figure out the full microG release. |
|
FYI, There is the user flavor upstream that is generally meant to be used for situations like this, which would answer your maintenance question... |

Summary
Usage
Apply a GmsCore support patch that redirects Google Play services calls to
app.revanced.android.gms. Existing Maps API calls such asMapView,MapFragment, andMapsInitializerwill then load the bundled Maps implementation from MicroG RE.Validation
:play-services-core:assembleMapboxDefaultDebug:play-services-core:assembleMapboxDefaultRelease:play-services-core:assembleVtmDefaultDebug:play-services-location-core:verifyDefaultReleaseResources:play-services-location-core:verifyHuaweiReleaseResources