rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
289 stars 330 forks source link

Question for F-Droid deployment: how to remove google services #337

Open moovida opened 2 years ago

moovida commented 2 years ago

Hi, I have a question related to google services. While the plugin allows the user to choose if g-services should be enabled or not, it references the libraries anyways.

I am in the situation that I would like to deploy my app on F-Droid, but they allow only free and open source libraries there. Right now I am blocked by the Kotlin code that needs to change in order to avoid g-services imports, since once I remove the references from the gradle script, the classes do obviously not compile.

Would it be possible to have the same kotlin classes free from the g-services as an option? This would be really great to deploy applications on f-Droid. Maybe there is a still working version of the class that didn't make use of it?

Thanks for any help you could give me.