-
Notifications
You must be signed in to change notification settings - Fork 65
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
Android: fused location provider #3447
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant 💎
…android non-fused implementation for now
003023a
to
785cd31
Compare
Pull Request Test Coverage Report for Build 9368402942Details
💛 - Coveralls |
2 similar comments
Pull Request Test Coverage Report for Build 9368402942Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9368402942Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful PR 🥇
if ( errMsg == "MISSING_PERMISSIONS" ) | ||
setState( tr( "No location permissions" ), State::NoConnection ); | ||
else if ( errMsg == "FUSED_NOT_AVAILABLE" ) | ||
setState( tr( "Fused location not available" ), State::NoConnection ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we have these strings MISSING_PERMISSIONS
and FUSED_NOT_AVAILABLE
defined as const strings
? Alternatively they could be in the AbstractPositionProvider
(i.e. when project is loaded, not at the startup when position provider is created)
@tomasMizera hopefully the last bits should be sorted |
Pull Request Test Coverage Report for Build 9437629663Details
💛 - Coveralls |
2 similar comments
Pull Request Test Coverage Report for Build 9437629663Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9437629663Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking goooood
CI failures are unrelated |
Verified, I can see the fused location provided according to the screenshot. I also verified that I can switch to it and that the application remembers the user's preference. |
Initial version of the support for fused location provider:
LocationManager
just like the implementation in Qt Positioning - it is currently left disabled to avoid too many options.