speed The value is always null in Android 5+. We use the following:
- Core: Cordoba - 5.1.1
- Platform: Cordova-Android 4.0.2
- Plugin Version: 1.0.1
- Devices: Samsung Galaxy S4 (A5.0.1), Nexus 5 (A5.1.1), LG G3 Stylus D690 (A5.0.2).
We get this problem now after we updated Android 5+.
Still works great on Android 4 and iOS. We tried both getCurrentPosition and watchPosition - no luck. HighAccuracy - true .
We had to implement a workaround for Android 5 using getCurrentPosition (instead of the perfectly working watchPosition for other OSs), which in many cases leads to the calculation of speed at some intervals up to 400 km / h, while calculating more or less accurate speed in general.
- Are there any permissions for Android 5 that we donβt see?
- What can we do to solve this problem?
Wed likes to use one code for all platforms, as it should be, and continue to use watchPosition as it works well.
- Any suggestions? Is this a known issue?
Regarding the note: Are there any known bugs / issues for Cordoba with Galaxy devices in general? Thanks!
android cordova geolocation cordova-plugins phonegap-plugins
andreyzenkov
source share