Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on Google Service #1295

Open
hariettem opened this issue Jan 30, 2025 · 5 comments
Open

Dependency on Google Service #1295

hariettem opened this issue Jan 30, 2025 · 5 comments

Comments

@hariettem
Copy link

Curious what the lift for this would be? Love the app being open source but it's dependent on Google ecosystem. Making it unsuitable for degoogle phones.

@aaronbrethorst
Copy link
Member

No idea, but we welcome PRs

@amrhossamdev
Copy link
Member

Do you mean supporting Huawei devices for example without depending on Google play services ?

@MRELEC1R0N
Copy link
Contributor

MRELEC1R0N commented Feb 8, 2025

@aaronbrethorst @amrhossamdev We can consume another open-source library for maps like open street maps for devices that don't support Google play services.

@andrewpking
Copy link

I would love to use this app on my degoogled phone! How can I pitch in for rebasing to consume a non-Google maps api?

@barbeau
Copy link
Member

barbeau commented Feb 9, 2025

FWIW, here's an example of using Gradle build flavors to support two separate builds of an app, one using Google Maps and one using OSMDroid:

The catch is that the last time I checked, OSMDroid doesn't have the same API as Google maps. So you're basically talking about reimplementing all of the code that interacts directly with the Maps API. I did that in the above project so two different map Fragments are implemented, one for each build flavor.

There might be a better way to do it today- maybe there's a new library wrapper for osm tiles that matches the Google Maps API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants