Open vishwesh1010 opened 6 years ago
Hi @vishwesh1010! Did you verify this on a phone or inside a simulator? Also, did you move around and verify this thoroughly if you tried on an actual phone? Also, were you using a mock location when you conducted this test?
@MustansirZia I verifed it on real device and also tried moving around with it but still getting the values of bearing and speed zero ,it is giving me perfect values of latitudes and longitudes.. Also we are not using mock location
Exactly same issue here. Not getting speed and bearing values on MotoG6(Oreo 8).But working completly fine on MotoG5S Plus(Nougat 7.1 )
@vishwesh1010 @PAWAN-PRAJAPATI Okay. Understood. I will try to dig inside this a bit more to see what issues we face inside Android Oreo. There could have been an API depreciation or a limitation set by Google.
@MustansirZia react-native-fused-location is working fine the problem was with the location permission. From SDK 23 onwards android introduced new permission model, but I was still using targetSdkVersion 22 in my project, changing it to 23 worked for me. I'm extremely sorry for the trouble. It was all my fault. Library is working perfectly fine.
@PAWAN-PRAJAPATI close the issue then?
@PAWAN-PRAJAPATI what you have changed?
Hi there! I am using react-native-fused-location in my Project and its working fine on Android <=7.1 but when I am running it on Android Oreo 8.0 it is not giving me speed and bearing values..!! It is giving perfect values of latitudes and Longitudes but always giving values of speed and bearing zero !! Thank you in Advance!