flutter-geolocator
flutter-geolocator copied to clipboard
Check LocationSettingsResponse success before processing
First check if the LocationSettingsResponse task was successful before attempting to get the result.
Fix FusedLocationClient.isLocationServiceEnabled crashes.
List at least one fixed issue. https://github.com/Baseflow/flutter-geolocator/issues/1366 https://github.com/Baseflow/flutter-geolocator/issues/1527
Pre-launch Checklist
- [ ] I made sure the project builds.
- [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
- [x] I updated
pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes. - [x] I updated
CHANGELOG.mdto add a description of the change. - [ ] I updated/added relevant documentation (doc comments with
///). - [x] I rebased onto
main. - [ ] I added new tests to check the change I am making, or this PR does not need tests.
- [x] I made sure all existing and new tests are passing.
- [x] I ran
dart format .and committed any changes. - [x] I ran
flutter analyzeand fixed any errors.