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

Allow initialization of the location engine even location services are disabled #6

Merged
merged 1 commit into from
Sep 10, 2021

Conversation

Merlin1stHere
Copy link
Collaborator

These changes allow application to receive location updates when location services are enabled again.

@@ -194,5 +192,14 @@ mixin Positioning {

void _onStatusChanged(LocationEngineStatus status) {
_onLocationEngineStatus?.call(status);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you should not call _onLocationEngineStatus?.call(status); if positioning is disabled.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

…e disabled

Signed-off-by: Vitalii Khoruzhyi <44439675+Merlin1stHere@users.noreply.github.com>
@Merlin1stHere Merlin1stHere merged commit 3e02ee0 into master Sep 10, 2021
@Merlin1stHere Merlin1stHere deleted the fix_positioning_if_reenabled branch September 16, 2021 08:53
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