[Feature Request]: Expose Location.hasBearingAccuracy() from Android platform #1525
Open
2 of 7 tasks
Labels
platform: android
Issue is related to the Android platform.
type: enhancement
New feature or request
Is there already an issue requesting this feature?
Please select affected platform(s)
Use case
It would be nice to have the Android
Location.hasBearingAccuracy()
call exposed to Flutter, as we were filtering out inaccurate heading readings usingPosition.headingAccuracy
, but on some devices this always = 0.0 ifLocation.hasBearingAccuracy()
returnsfalse
, so on those devices, we're throwing away all readings.Proposal
An extra field in
geolocator_platform_interface-4.2.2/lib/src/models/position.dart
to flag whether the device has bearing/heading accuracy available.Specific requirements or considerations
No response
Additional information or context
No response
The text was updated successfully, but these errors were encountered: