I wanted to use the @ mauron85 / react-native-background-geolocation component for Geo traking, but I noticed this situation - if you give a signal to start the component (BackgroundGeolocation.start ();), and then minimize and then swipe to close the application, then the application is like that remains hanging in memory (this can be seen through the adb shell - using the top command). I'm using BackgroundGeolocation.removeAllListeners (); in componentWillUnmount but it doesn't help
Expected Behavior
Actual Behavior
Possible Fix
Steps to Reproduce
Connect Device via usb
run /android-sdk/platform-tools/adb shell
use - top
run the app on the device
run function - BackgroundGeolocation.start();
minimize the application
close the application with a swipe
see command output top - the application did not close
Your Environment
https://back-gpsgeo-default-rtdb.firebaseio.com/test.json
, syncUrl:https://back-gpsgeo-default-rtdb.firebaseio.com/test.json
, syncThreshold: 10, httpHeaders: { 'X-FOO': 'bar' }, // customize post properties postTemplate: { time: '@time', lat: '@latitude', lon: '@longitude', //foo: 'bar' // you can also add your own properties } });Context
I wanted to use the @ mauron85 / react-native-background-geolocation component for Geo traking, but I noticed this situation - if you give a signal to start the component (BackgroundGeolocation.start ();), and then minimize and then swipe to close the application, then the application is like that remains hanging in memory (this can be seen through the adb shell - using the top command). I'm using BackgroundGeolocation.removeAllListeners (); in componentWillUnmount but it doesn't help
Expected Behavior
Actual Behavior
Possible Fix
Steps to Reproduce
Context
Debug logs