react-native-geolocation-service
react-native-geolocation-service copied to clipboard
Move functions accessing location into a background thread
Summary
Hi, in our project, which is using react-native-geolocation-service, we have noticed that some users are experiencing a problem that App hangs, and logs from bugsnag show that
if let location = self.locationManager.location {
call, apparently, might block a main thread.
As a possible solution, the decision was to try to move these call into a background flow.
Test Plan
We are going to release a version with patched version of this lib, and I'll comment later on here was an issue resolved or not.
We couldn't reproduce it locally anyway, so only relying on reports from bug tracking system.
Hello. Any updates on this? Did it help to resolve hanging?