[Feature] Remove Google Play Services dependency.
Summary
The app currently closes on startup if you don't have Google Play installed.
Problem / Motivation
I'm running on GrapheneOS with Google Play Services and Google Play Store disabled. This app feels like a perfect match for an off-grid/privacy friendly OS. Unfortunately, upon launching the app I get an error telling me I have to install Google Play.
Proposed Solution
Remove the dependency on Google Play.
Alternatives Considered
Using other tools that don't have a hard dependency on Google Play.
Platform
- [x] Android
- [ ] iOS
- [ ] Both
Additional Context
The exact error I get is:
Something went wrong
Check that Google Play is enabled on your device and that you're using an up-to-date version before opening the app. If the problem persists try reinstalling the app.
Close
i see, i'll work on this. will test and release. Shouldn't need to much work
I'm running Offgrid on GrapheneOS without Google services or Playstore enabled, but I downloaded it from Aurora Store. I believe there was a message in Aurora that said it didn't have Google any dependencies. All Google is disabled on my phone and the app runs fine.
Pixel 7 Pro, Android 16, Latest GrapheneOS, Offgrid app v0.0.81
Hmm, I'm on Pixel 8a, GrapheneOS, no Google anything. I just installed off Aurora the latest and as soon as I click "Next" on the first onboarding screen I get the error saying I need to "Check that Google Play is enabled on your device" with the only option to close the app.
It was a foreign Playstore version I was directed to on Aurora (I don't recall the language). I've had that happen before and I assume because it's redirected through the anonymous token system. The app is the English version, just the Playstore page was from another country. Perhaps that has something to do with why mine doesn't require Google? I double checked that I don't have anything google even installed or enabled and I've never signed in to Google on the phone. Weird.
Just to be extra sure, if you go to the app drawer and open the "App Store" app, you should see "Google Play Store" and "Google Play Services" listed. If you click on each of them you should see an "Install" button at the top, which means they are not currently installed. If instead you see "Settings" or "Open" then it means you have them installed.
I just quadruple checked. Both play services and Playstore are not installed and I've always been careful to keep that stuff off of my phone. I have a friend that has the same issue where it requires the services to download it from Aurora, so now I'm a little concerned why I was able to. I wonder if there's a way to verify my version of the app to make sure I didn't get some kind of spyware or something. It's fully functional and nothing seems out of place. Very odd. I am 100% certain my phone is totally degoogled though. Besides it being a Pixel. Ha.
There's an option to use MicroG to authenticate the session in the networking settings of Aurora. I have that enabled, so I wonder if that could be why it works.
I think I know what it is. I forgot that I enabled the sandboxed version of Play services in a separate profile a long time ago. I never signed in and it's supposed to route any traffic through Graphene location servers. It's also not supposed to carry over anything to other profiles, so i don't know how it would be affecting my owner profile. It's the only thing I can think of though. It's not showing installed in my main profile, but I guess I'll just leave it on in the other one so it doesn't break anything turning it off. Seems like I should be safe enough since I don't use that profile. It is google though, so you never know. https://grapheneos.org/usage#sandboxed-google-play
That seems plausible as I do not have sandboxed Google Play thing setup in a secondary profile.