Skip to content

Check LocationSettingsResponse success before processing#1730

Merged
mvanbeusekom merged 1 commit into
Baseflow:mainfrom
andannn:main
Jul 1, 2025
Merged

Check LocationSettingsResponse success before processing#1730
mvanbeusekom merged 1 commit into
Baseflow:mainfrom
andannn:main

Conversation

@andannn

@andannn andannn commented Jun 17, 2025

Copy link
Copy Markdown
Contributor

First check if the LocationSettingsResponse task was successful before attempting to get the result.

Fix FusedLocationClient.isLocationServiceEnabled crashes.

List at least one fixed issue.
#1366
#1527

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

First check if the `LocationSettingsResponse` task was successful before attempting to get the result.
@mvanbeusekom mvanbeusekom merged commit cf839a0 into Baseflow:main Jul 1, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants