How to use FLOSS Geolocator for Flutter applications:
geolocatoras known. You may also use other packages using
dependencies: flutter: sdk: flutter geolocator: ^7.6.2
To use FLOSS
geolocator(e.g. only for the FLOSS builds), you can simply add a dependency override. This ensures other dependencies using
geolocatorare forced to use the FLOSS version too:
dependency_overrides: geolocator_android: hosted: name: geolocator_android url: https://hanntech-gmbh.gitlab.io/free2pass/flutter-geolocator-floss
Please note the override no longer overrides
https://gitlab.com/free2pass/flutter-geolocator-floss.git is not available now.
Was moved to https://gitlab.com/hanntech-gmbh/free2pass/flutter-geolocator-floss. It actually properly redirects.
Thanks to a nice discussion with @KrilleFear, the FLOSSed Flutter geolocator now got rid of the ugly git override and provides its own package automatically created server in CI/CD jobs. This permits to drop in the FLOSSed version once without any later modifications like e.g. updated versions / refs or Git imports in production builds. This was realized by a little utility called