I would love to see this in GrapheneOS. Like DivestOS has done:
https://divestos.org/pages/faq#microgNotes
It's one patch with 100 lines changed to make it work as an unprivileged/sandboxed app, with signature spoofing for only MicroG:
https://github.com/Divested-Mobile/DivestOS-Build/blob/master/Patches/LineageOS-20.0/android_frameworks_base/0036-Unprivileged_microG_Handling.patch
So the extra workload of adding this functionality shouldn't be that much in my opinion. Certainly less than working on sandboxed Play Services.
Why would I love to have it? Because I only need Play Services for the Cloud Messaging (push notifications) functionality. I don't care about Safetynet or Play Integrity, I don't want Google location services, I don't want the Play Store, I don't want to connect my Google account. Unprivileged MicroG to make push notifications work with minimal overhead and no Google binaries polluting my device, that's all I want. And you can even limit it to a second user profile, just like Sandboxed Play Services.
akc3n For a detailed explanation, please read:
https://discuss.grapheneos.org/d/4290-sandboxed-microg/11
Points taken, but if Signature Spoofing was allowed for MicroG, you would successfully get push notifications with MicroG installed as a normal unprivileged user app, right? And some other benefits like Maps API working, too.