transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.66k stars 426 forks source link

The UI freezes when calling onLocation only in Android #2199

Open tuannth opened 2 weeks ago

tuannth commented 2 weeks ago

Your Environment

Expected Behavior

App run smoothly

Actual Behavior

When the user runs approximately 10 km at an average speed of 30 km/h, the UI freezes.

Steps to Reproduce

  1. Start moving
  2. Run about 10km at an average speed of 30km/h
  3. This issue is coming

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 2 weeks ago

The UI freezes when calling onLocation only in Android

Likely due to your own code. The first thing I’d do is comment-out all my code within .onLocation.

id also be observing my device logs with $ adb logcat

see wiki “Debugging”.