Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgGeo.stop not working after terminate the app #751

Closed
okkypt opened this issue Aug 16, 2018 · 69 comments
Closed

bgGeo.stop not working after terminate the app #751

okkypt opened this issue Aug 16, 2018 · 69 comments

Comments

@okkypt
Copy link

okkypt commented Aug 16, 2018

Your Environment

  • Plugin version: cordova-background-geolocation-lt 2.12.1 "BackgroundGeolocation"
    cordova-plugin-background-fetch 5.4.1 "CDVBackgroundFetch"
  • Platform: Android
  • OS version: 7.1
  • Device manufacturer / model: Redmi 4x
  • Cordova version (cordova -v): 8.0.0
  • Cordova platform version (cordova platform ls):
    cordova-background-geolocation-lt 2.12.1 "BackgroundGeolocation"
    cordova-plugin-background-fetch 5.4.1 "CDVBackgroundFetch"
    cordova-plugin-camera 4.0.2 "Camera"
    cordova-plugin-file 6.0.1 "File"
    cordova-plugin-file-transfer 1.7.1 "File Transfer"
    cordova-plugin-geolocation 4.0.1 "Geolocation"
    cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
    cordova-plugin-whitelist 1.3.3 "Whitelist"
  • Plugin config

Expected Behavior

when open the app the i hear sound beep for the first time. when i close the app(backgorund) i hear sound like telolet which tracking on the background run perfectly. i give bgGeo.stop on my logout button when i hit it, the plugin is perfectly stop. that case if i dont killed the app when i already hear the telolet sound.

Actual Behavior

I want if background tracking already running, i killed the app which there is GPS logo on top of the device that running and i still hear beep, beep beep. then i want open my app again and hit logout and the background stop. How can i do that ? (i can do this if im not killed the app after telolet sound)

Steps to Reproduce

var bgGeo = window.BackgroundGeolocation;
    bgGeo.stop(); //i try this too hope it i will stop after killed the app

// Get a reference to the plugin


    //This callback will be executed every time a geolocation is recorded in the background.
    var callbackFn = function(location) {
        var coords = location.coords;
        var lat    = coords.latitude;
        var lng    = coords.longitude;
        console.log('- Location: ', JSON.stringify(location));        
    };

    // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
    var failureFn = function(errorCode) {
        console.warn('- BackgroundGeoLocation error: ', errorCode);
    }

    // Listen to location events & errors.
    bgGeo.on('location', callbackFn, failureFn);
    // Fired whenever state changes from moving->stationary or vice-versa.
    bgGeo.on('motionchange', function(isMoving) {
      console.log('- onMotionChange: ', isMoving);
  });
    // Fired whenever a geofence transition occurs.
    bgGeo.on('geofence', function(geofence) {
      console.log('- onGeofence: ', geofence.identifier, geofence.location);
  });
    // Fired whenever an HTTP response is received from your server.
    bgGeo.on('http', function(response) {
      console.log('http success: ', response.responseText);
  }, function(response) {
      console.log('http failure: ', response.status);
  });

    // BackgroundGeoLocation is highly configurable.
    bgGeo.ready({
        // Geolocation config
        reset:true,
        desiredAccuracy: 0,
        distanceFilter: 1,
        stationaryRadius: 25,
        // Activity Recognition config
        activityRecognitionInterval: 0,
        //activityRecognitionInterval: 1000,
        stopTimeout: 5,
        // Application config
        debug: true,  // <-- Debug sounds & notifications.
        stopOnTerminate: false,
        startOnBoot: true,
        // HTTP / SQLite config
        url: "http://xxx.com/xx/xx.php",
        method: "POST",
        autoSync: true,
        maxDaysToPersist: 3,
        headers: {  // <-- Optional HTTP headers
            "X-FOO": "bar",
            asd : "asd"
        },
        params: {   // <-- Optional HTTP params
            xx: xx,
            case : "xxx"
        }
    }, function(state) {
        if(state.enabled){
            bgGeo.stop(); //i try this too
        }
        // This callback is executed when the plugin is ready to use.
        console.log("BackgroundGeolocation ready: ", state);
    });
bgGeo.start(); //start when login

    $$('.logOut').on('click',function(){
            bgGeo.stop();
        });
    });

Context

Debug logs

@okkypt
Copy link
Author

okkypt commented Aug 16, 2018

i dont call any plugin too in this case

@christocracy
Copy link
Member

I don't understand. You already have the solution:

$$('.logOut').on('click',function(){
        bgGeo.stop();  // <-- #stop on logout.
    });
});

@okkypt
Copy link
Author

okkypt commented Aug 16, 2018 via email

@christocracy
Copy link
Member

Are you watching $ adb logcat -s TSLocationManager?

See Debugging Wiki

Show me corresponding logs of what you're talking about.

@okkypt
Copy link
Author

okkypt commented Aug 16, 2018 via email

@christocracy
Copy link
Member

Android Developer Bridge

@okkypt
Copy link
Author

okkypt commented Aug 16, 2018

08-16 22:50:42.761 24299 24411 I TSLocationManager:
08-16 22:50:42.761 24299 24411 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-16 22:50:42.761 24299 24411 I TSLocationManager: Ôòæ License Validation Failure
08-16 22:50:42.761 24299 24411 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-16 22:50:42.761 24299 24411 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-16 22:50:42.948 24299 24411 D TSLocationManager: $ addLocationListener()
08-16 22:50:42.952 24299 24411 D TSLocationManager: $ addMotionChangeListener()
08-16 22:50:42.955 24299 24411 D TSLocationManager: $ addGeofenceListener()
08-16 22:50:42.957 24299 24411 D TSLocationManager: $ addHttpListener()
08-16 22:50:42.960 24299 24411 D TSLocationManager: $ ready()
08-16 22:51:18.201 24299 24411 D TSLocationManager: $ start()
08-16 22:51:18.278 24299 24299 I TSLocationManager: - onPause
08-16 22:51:19.480 24299 24450 I TSLocationManager: - Enable: false  true, trackingMode: 1
08-16 22:51:19.525 24299 24299 I TSLocationManager: - onResume
08-16 22:51:20.354 24299 24299 I TSLocationManager: - onPause
08-16 22:53:18.760 24299 24299 I TSLocationManager: - onResume
08-16 22:53:21.440 24299 24299 I TSLocationManager: - onPause
08-16 22:53:23.273 24299 24299 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-16 22:53:28.151 24892 24960 I TSLocationManager:
08-16 22:53:28.151 24892 24960 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-16 22:53:28.151 24892 24960 I TSLocationManager: Ôòæ License Validation Failure
08-16 22:53:28.151 24892 24960 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-16 22:53:28.151 24892 24960 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-16 22:53:28.318 24892 24960 D TSLocationManager: $ addLocationListener()
08-16 22:53:28.322 24892 24960 D TSLocationManager: $ addMotionChangeListener()
08-16 22:53:28.326 24892 24960 D TSLocationManager: $ addGeofenceListener()
08-16 22:53:28.328 24892 24960 D TSLocationManager: $ addHttpListener()
08-16 22:53:28.332 24892 24960 D TSLocationManager: $ ready()
08-16 22:53:28.399 24892 24966 I TSLocationManager: - Enable: true  true, trackingMode: 1
08-16 22:53:31.906 24892 24892 I TSLocationManager: - onPause
08-16 22:53:45.080 24892 24892 I TSLocationManager: - onResume
08-16 22:53:48.871 24892 24960 D TSLocationManager: $ stop()
08-16 22:53:52.025 24892 24892 I TSLocationManager: - onPause

This is chris my adblogcat, after bgGeo.start() and tracking already running i hear "beep sound" and then i killed the app. after that i opened my app again to logout whic i had bgGeo.stop(). but the tracking still running on the background, that i think the bgGeo.stop didnt running.
Thankyou Chris

@okkypt
Copy link
Author

okkypt commented Aug 18, 2018

hello @christocracy , after i change my code, try to make start() after that stop() in my button logout, this plugin worked like a charm, but if i killed the app when start() which in the log is CDVBackgroundGeolocation#onDestroy , and i open the app again. i cant stop the background geolocation.

08-18 09:33:00.048 16735 16805 D TSLocationManager: $ addLocationListener()
08-18 09:33:00.054 16735 16805 D TSLocationManager: $ addMotionChangeListener()
08-18 09:33:00.061 16735 16805 D TSLocationManager: $ addGeofenceListener()
08-18 09:33:00.064 16735 16805 D TSLocationManager: $ addHttpListener()
08-18 09:33:00.069 16735 16805 D TSLocationManager: $ ready()
08-18 09:33:00.093 16735 16805 D TSLocationManager: $ start()
08-18 09:33:00.104 16735 16822 I TSLocationManager: - Enable: false  true, trackingMode: 1
08-18 09:33:12.130 16735 16735 I TSLocationManager: - onPause
08-18 09:34:03.082 16735 16735 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-18 09:34:07.985 17204 17278 I TSLocationManager:
08-18 09:34:07.985 17204 17278 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-18 09:34:07.985 17204 17278 I TSLocationManager: Ôòæ License Validation Failure
08-18 09:34:07.985 17204 17278 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-18 09:34:07.985 17204 17278 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-18 09:34:08.278 17204 17278 D TSLocationManager: $ stop()

Please @christocracy help me. i need to solve this problem. Thankyou Chris.

@christocracy
Copy link
Member

Show me the javascript you're using to control the plugin.

@okkypt
Copy link
Author

okkypt commented Aug 18, 2018

Here is my javascript code @christocracy :

document.addEventListener('deviceready', function () {
var bgGeo = window.BackgroundGeolocation;

//login_page
$$(document).on('page:init', '.page[data-name="login"]', function (page) {
var callbackFn = function(location) {
    var coords = location.coords;
    var lat    = coords.latitude;
    var lng    = coords.longitude;
    console.log('- Location: ', JSON.stringify(location));        
};

// This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
var failureFn = function(errorCode) {
    console.warn('- BackgroundGeoLocation error: ', errorCode);
}

// Listen to location events & errors.
bgGeo.on('location', callbackFn, failureFn);
// Fired whenever state changes from moving->stationary or vice-versa.
bgGeo.on('motionchange', function(isMoving) {
  console.log('- onMotionChange: ', isMoving);
 });
// Fired whenever a geofence transition occurs.
bgGeo.on('geofence', function(geofence) {
  console.log('- onGeofence: ', geofence.identifier, geofence.location);
 });
// Fired whenever an HTTP response is received from your server.
bgGeo.on('http', function(response) {
  console.log('http success: ', response.responseText);
  }, function(response) {
  console.log('http failure: ', response.status);
 });

// BackgroundGeoLocation is highly configurable.
bgGeo.ready({
    // Geolocation config
    //reset:true,
    desiredAccuracy: 0,
    distanceFilter: 1,
    stationaryRadius: 25,
    // Activity Recognition config
    activityRecognitionInterval: 0,
    //activityRecognitionInterval: 1000,
    stopTimeout: 5,
    // Application config
    debug: true,  // <-- Debug sounds & notifications.
    stopOnTerminate: false,
    startOnBoot: true,
    // HTTP / SQLite config
    url: "http://xxx.com/xxx/xxx.php",
    method: "POST",
    autoSync: true,
    maxDaysToPersist: 3,
    headers: {  // <-- Optional HTTP headers
        "X-FOO": "bar",
        asd : "asd"
    },
    params: {   // <-- Optional HTTP params
        USERID : USERID,
        case : "xxx"
    }
}, function(state) {
    
    // This callback is executed when the plugin is ready to use.
    console.log("BackgroundGeolocation ready: ", state);
});

$$('.login-button').on('click',function(){
 bgGeo.start();
});
}); //bottom_login_page

//home_page
$$(document).on('page:init', '.page[data-name="home"]', function (page) {
$$('.logOut').on('click',function(){
    myApp.dialog.confirm("Logout ?",function(){

        bgGeo.stop();
        mainView.router.navigate({url:'/login/'});
    });
});
//bottom home_page

}, false);

Anything fine i can stop bgGeo if im not killed the app.

@christocracy
Copy link
Member

Are you checking the JavaScript console for errors?

@okkypt
Copy link
Author

okkypt commented Aug 18, 2018

i'm checking in my mozzilla firefox console only when there is no background geolocation plugin. and anything fine @christocracy . or maybe you can recommend me some trick to know what is my problem?

@christocracy
Copy link
Member

What do you mean "only when there is no background geolocation plugin"??

With your device plugged into USB, open Chrome. Visit url chrome://inspect#devices

@okkypt
Copy link
Author

okkypt commented Aug 18, 2018

image

Chris i follow your trick, i inspect and only this after i killed the app, it will terminate the inspect devices.
so only that console i can see.. the last console appear because when i klik logout i come back to login page. bgGeo.stop cant stop my background geolocation @christocracy.

@okkypt
Copy link
Author

okkypt commented Aug 18, 2018

image

if im not killed the app, the background geolocation can stop tracking instantly @christocracy . in this case start tracking and logout.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

hi @christocracy, there is error in my function. but after fix it, it still the same. backgroundGeolocation cant stop if i killed the app.
after killed the app, i can still see http success in my chrome inspect devices console too. but i cant stop bgGeo after killed app. what is the problem chris ? no javascript error too..

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

// Dom7
var $$ = Dom7;

// Framework7 App main instance
var myApp  = new Framework7({
    root: '#app', // App root element
    pushState:false,
    id: 'io.framework7.testapp', // App bundle ID
    name: 'Easy Sales Pro', // App name
    theme: 'auto', // Automatic theme detection

    // App root data
    data: function () {
        return {
            user: {
                firstName: 'John',
                lastName: 'Doe',
            },
        };
    },
    // App root methods
    methods: {
        helloWorld: function () {
            myApp.dialog.alert('Hello World!');
        },
    },
    // App routes
    routes: routes,
});

// Init/Create main view
var mainView = myApp.views.create('.view-main', {
    url: '/'
});



document.addEventListener("backbutton", deviceBackButton, false);
function deviceBackButton(){
}

document.addEventListener('deviceready', function () {
   var bgGeo = window.BackgroundGeolocation;
    //This callback will be executed every time a geolocation is recorded in the background.
    var callbackFn = function(location) {
        var coords = location.coords;
        var lat    = coords.latitude;
        var lng    = coords.longitude;
        console.log('- Location: ', JSON.stringify(location));        
    };

    // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
    var failureFn = function(errorCode) {
        console.warn('- BackgroundGeoLocation error: ', errorCode);
    }

    // Listen to location events & errors.
    bgGeo.on('location', callbackFn, failureFn);
    // Fired whenever state changes from moving->stationary or vice-versa.
    bgGeo.on('motionchange', function(isMoving) {
      console.log('- onMotionChange: ', isMoving);
  });
    // Fired whenever a geofence transition occurs.
    bgGeo.on('geofence', function(geofence) {
      console.log('- onGeofence: ', geofence.identifier, geofence.location);
  });
    // Fired whenever an HTTP response is received from your server.
    bgGeo.on('http', function(response) {
      console.log('http success: ', response.responseText);
  }, function(response) {
      console.log('http failure: ', response.status);
  });




    $$('.btnStop').on('click',function(){
        bgGeo.stop();
    });

    $$('.btnMasuk').on('click', function () {
        myApp.loginScreen.close('#my-login-screen');
        mainView.router.navigate("/login/");
    });



    $$(document).on('page:init', '.page[data-name="login"]', function (page) {
        $$('.login-button').on('click',function(){   
            bgGeo.ready({
                reset:true,
                desiredAccuracy: 0,
                distanceFilter: 1,
                stationaryRadius: 25,
                activityRecognitionInterval: 0,
                stopTimeout: 5,
                debug: true,  

                stopOnTerminate: false,
                startOnBoot: true,
                url: "http://xxx.com/xxx/xxx.php",
                method: "POST",
                autoSync: true,
                maxDaysToPersist: 3,
                headers: {  
                    "X-FOO": "bar",
                    asd : "asd"
                },
                params: {   
                    USERID : "xxx",
                    case : "xxx"
                }
            }, function(state) {
                console.log("BackgroundGeolocation ready: ", state);
            });
            bgGeo.start();
            mainView.router.navigate("/home/");


        });
    });


    $$(document).on('page:init', '.page[data-name="home"]', function (page) {
        $$('.logOut').on('click',function(){
            myApp.dialog.confirm("Logout ?",function(){
                bgGeo.stop();
            });
        });

    });
}, false);

@christocracy i try to make a new javascript to try your plugin again. its all my javascript code. still the same, if im not killed the app, i can stop the tracking. but if im killed the app, and open again my app, i cant stop the plugin.
or maybe something wrong with my ready ? or maybe i need bgGeo.finish ? i dont know im stuck here.. please help @christocracy

@christocracy
Copy link
Member

Do you understand what this does:

stopOnTerminate: false

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018 via email

@christocracy
Copy link
Member

i think stopterminate false to still tracking when the user kill/terminate
the app right

Sorry, this statement is correct.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018 via email

@christocracy
Copy link
Member

christocracy commented Aug 19, 2018

You are not supposed to do this:

bgGeo.ready({
                .
                .  // <-- your config.
                .
            }, function(state) {
                console.log("BackgroundGeolocation ready: ", state);
            });
            bgGeo.start();  // <--------------- NO!

You must NOT attempt to #start the plugin until the callback to #ready fires.

bgGeo.ready(config, function(state) {
  // The plugin remembers its enabled status between reboots.
  // it will have automatically executed #start upon itself here if it was last terminated while enabled.
  // You do not have to manually #start the plugin.
});

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

ok chris, i already test what you said, so i change my code like this js like this

 function onDeviceReady(){
 var bgGeo = window.BackgroundGeolocation;
    //This callback will be executed every time a geolocation is recorded in the background.
    var callbackFn = function(location) {
        var coords = location.coords;
        var lat    = coords.latitude;
        var lng    = coords.longitude;
        console.log('- Location: ', JSON.stringify(location));        
    };

    // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
    var failureFn = function(errorCode) {
        console.warn('- BackgroundGeoLocation error: ', errorCode);
    }

    // Listen to location events & errors.
    bgGeo.on('location', callbackFn, failureFn);
    // Fired whenever state changes from moving->stationary or vice-versa.
    bgGeo.on('motionchange', function(isMoving) {
      console.log('- onMotionChange: ', isMoving);
  });
    // Fired whenever a geofence transition occurs.
    bgGeo.on('geofence', function(geofence) {
      console.log('- onGeofence: ', geofence.identifier, geofence.location);
  });
    // Fired whenever an HTTP response is received from your server.
    bgGeo.on('http', function(response) {
      console.log('http success: ', response.responseText);
  }, function(response) {
      console.log('http failure: ', response.status);
  });



    $$('.btnStop').on('click',function(){
        bgGeo.stop();
        myApp.dialog.alert("a");
    });
    

    $$('.btnMasuk').on('click', function () {
        myApp.loginScreen.close('#my-login-screen');
        mainView.router.navigate("/login/");
    });



    $$(document).on('page:init', '.page[data-name="login"]', function (page) {
        $$('.login-button').on('click',function(){   
            bgGeo.ready({
                reset:true,
                desiredAccuracy: 0,
                distanceFilter: 1,
                stationaryRadius: 25,
                activityRecognitionInterval: 0,
                stopTimeout: 5,
                debug: true,  

                stopOnTerminate: false,
                startOnBoot: true,
                url: "http://xxx.com/xxx/xxx.php",
                method: "POST",
                autoSync: true,
                maxDaysToPersist: 3,
                headers: {  
                    "X-FOO": "bar",
                    asd : "asd"
                },
                params: {   
                    USERID : "xxx",
                    case : "xxxx"
                }
            }, function(state) {
                if (!state.enabled) {
                    bgGeo.start(function() {
                      console.log('- BackgroundGeolocation tracking started');
                  });
                }
            });
            mainView.router.navigate("/home/");
        });
    });


    $$(document).on('page:init', '.page[data-name="home"]', function (page) {
        $$('.logOut').on('click',function(){
            myApp.dialog.confirm("Logout ?",function(){
                bgGeo.stop();
            });
        });

    });

    

}

when i killed the app and open the app again, i klik btnStop which have bgGeo.stop()
and the tracking still running. am i still wrong with my code @christocracy ??

@christocracy
Copy link
Member

christocracy commented Aug 19, 2018

Why??

function(state) {
                if (!state.enabled) {
                    bgGeo.start(function() {
                      console.log('- BackgroundGeolocation tracking started');
                  });
                }

This will ensure the plugin is always #started, regardless of user logged-in or logged-out.

@christocracy
Copy link
Member

As I wrote above:

bgGeo.ready(config, function(state) {
  // The plugin remembers its enabled status between reboots.
  // it will have **automatically executed #start upon itself here**
  // if it was last terminated while enabled.
  // You do NOT have to manually #start the plugin.
});

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

and then where must i give bgGeo.start() or the bgGeo.ready @christocracy ?

in that case, i only ready if i click login button. but for testing, i make stop button in the index.html. so when i reboot, my app will open index.html and i click stop button, not login button. it just for testing

@christocracy
Copy link
Member

christocracy commented Aug 19, 2018

and then where must i give bgGeo.start()

From your user interface eg: [Start] / [Stop] buttons or some login / logout action, eg: [Login] / [Logout].

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

 var bgGeo = window.BackgroundGeolocation;
    //This callback will be executed every time a geolocation is recorded in the background.
    var callbackFn = function(location) {
        var coords = location.coords;
        var lat    = coords.latitude;
        var lng    = coords.longitude;
        console.log('- Location: ', JSON.stringify(location));        
    };

    // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
    var failureFn = function(errorCode) {
        console.warn('- BackgroundGeoLocation error: ', errorCode);
    }

    // Listen to location events & errors.
    bgGeo.on('location', callbackFn, failureFn);
    // Fired whenever state changes from moving->stationary or vice-versa.
    bgGeo.on('motionchange', function(isMoving) {
      console.log('- onMotionChange: ', isMoving);
  });
    // Fired whenever a geofence transition occurs.
    bgGeo.on('geofence', function(geofence) {
      console.log('- onGeofence: ', geofence.identifier, geofence.location);
  });
    // Fired whenever an HTTP response is received from your server.
    bgGeo.on('http', function(response) {
      console.log('http success: ', response.responseText);
  }, function(response) {
      console.log('http failure: ', response.status);
  });

     bgGeo.ready({
                reset:true,
                desiredAccuracy: 0,
                distanceFilter: 1,
                stationaryRadius: 25,
                activityRecognitionInterval: 0,
                stopTimeout: 5,
                debug: true,  

                stopOnTerminate: false,
                startOnBoot: true,
                url: "http://xxx.com/xxx/xxx.php",
                method: "POST",
                autoSync: true,
                maxDaysToPersist: 3,
                headers: {  
                    "X-FOO": "bar",
                    asd : "asd"
                },
                params: {   
                    USERID : "xxx",
                    case : "xxxx"
                }
            }, function(state) {
                $$('.btnStop').on('click',function(){
        bgGeo.stop();
    });
    
            });

ah @christocracy you mean like this right ??

@christocracy
Copy link
Member

// You do NOT have to place the *listener* inside `#ready`
$$('.btnStop').on('click',function(){
        bgGeo.stop();
});

$$('.btnStart').on('click',function(){
        bgGeo.start();
});

bgGeo.ready(config, function(state) {
  // you do not need to do anything here.
});

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

var bgGeo = window.BackgroundGeolocation;
    //This callback will be executed every time a geolocation is recorded in the background.
    var callbackFn = function(location) {
        var coords = location.coords;
        var lat    = coords.latitude;
        var lng    = coords.longitude;
        console.log('- Location: ', JSON.stringify(location));        
    };

    // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
    var failureFn = function(errorCode) {
        console.warn('- BackgroundGeoLocation error: ', errorCode);
    }

    // Listen to location events & errors.
    bgGeo.on('location', callbackFn, failureFn);
    // Fired whenever state changes from moving->stationary or vice-versa.
    bgGeo.on('motionchange', function(isMoving) {
      console.log('- onMotionChange: ', isMoving);
  });
    // Fired whenever a geofence transition occurs.
    bgGeo.on('geofence', function(geofence) {
      console.log('- onGeofence: ', geofence.identifier, geofence.location);
  });
    // Fired whenever an HTTP response is received from your server.
    bgGeo.on('http', function(response) {
      console.log('http success: ', response.responseText);
  }, function(response) {
      console.log('http failure: ', response.status);
  });

    $$('.btnStop').on('click',function(){
        bgGeo.stop();
    });

     bgGeo.ready({
                reset:true,
                desiredAccuracy: 0,
                distanceFilter: 1,
                stationaryRadius: 25,
                activityRecognitionInterval: 0,
                stopTimeout: 5,
                debug: true,  

                stopOnTerminate: false,
                startOnBoot: true,
                url: "http://xxx.com/xxx/xxx.php",
                method: "POST",
                autoSync: true,
                maxDaysToPersist: 3,
                headers: {  
                    "X-FOO": "bar",
                    asd : "asd"
                },
                params: {   
                    USERID : "xxx",
                    case : "xxx"
                }
            }, function(state) {
                
    
            });

i already test this chris, why it still wont stop ?

@christocracy
Copy link
Member

Delete your app from the device. See if you can still gather logs / hear debug sounds.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

yes i already test it too @christocracy i delete and im not hear debug sounds, and the logcat not showing anything

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

Here is the fresh log, after i install, click login for start, and then the destroy/ kill the app. reopened the app and then click stop. still no luck tracking still running.

08-19 23:53:01.775 19126 19230 I TSLocationManager:
08-19 23:53:01.775 19126 19230 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:01.775 19126 19230 I TSLocationManager: Ôòæ License Validation Failure
08-19 23:53:01.775 19126 19230 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:01.775 19126 19230 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-19 23:53:01.959 19126 19230 D TSLocationManager: $ addLocationListener()
08-19 23:53:01.963 19126 19230 D TSLocationManager: $ addMotionChangeListener()
08-19 23:53:01.966 19126 19230 D TSLocationManager: $ addGeofenceListener()
08-19 23:53:01.968 19126 19230 D TSLocationManager: $ addHttpListener()
08-19 23:53:01.970 19126 19230 D TSLocationManager: $ ready()
08-19 23:53:01.986 19126 19230 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:53:02.017 19126 19230 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :false
08-19 23:53:09.642 19126 19230 D TSLocationManager: $ start()
08-19 23:53:09.646 19126 19230 I TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:53:09.646 19126 19230 I TSLocationManager:   ­ƒöÁ  LocationAuthorization: Requesting permission
08-19 23:53:09.730 19126 19126 I TSLocationManager: - onPause
08-19 23:53:10.901 19126 19126 I TSLocationManager: [c.t.locationmanager.util.b$1 onPermissionGranted]
08-19 23:53:10.901 19126 19126 I TSLocationManager:     LocationAuthorization: Permission granted
08-19 23:53:10.921 19126 19459 I TSLocationManager: - Enable: false  true, trackingMode: 1
08-19 23:53:10.951 19126 19126 I TSLocationManager: - onResume
08-19 23:53:10.959 19126 19126 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand]
08-19 23:53:10.959 19126 19126 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:10.959 19126 19126 I TSLocationManager: Ôòæ BackgroundGeolocation Service started
08-19 23:53:10.959 19126 19126 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:10.979 19126 19126 I TSLocationManager: [c.t.l.ActivityRecognitionService a]
08-19 23:53:10.979 19126 19126 I TSLocationManager:   ­ƒÄ¥  Start activity updates: 0
08-19 23:53:10.999 19126 19126 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
08-19 23:53:10.999 19126 19126 I TSLocationManager:   ­ƒöÁ  setPace: null ÔåÆ false
08-19 23:53:11.009 19126 19126 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:53:11.026 19126 19126 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:53:11.026 19126 19126 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:53:11.059 19126 19250 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:53:11.059 19126 19250 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:11.059 19126 19250 D TSLocationManager: Ôòæ HTTP Service
08-19 23:53:11.059 19126 19250 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:11.454 19126 19126 I TSLocationManager: - onPause
08-19 23:53:22.575 19126 19126 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:53:22.575 19126 19126 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:22.575 19126 19126 D TSLocationManager: Ôòæ SingleLocationRequest: 1
08-19 23:53:22.575 19126 19126 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:22.575 19126 19126 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334855,112.780224 acc=21 et=+13h47m0s591ms alt=71.0 vel=0.39 bear=117.0 {Bundle[{requestId=1, verticalAccuracy=42.475998}]}], age: 72ms, time: 1534697602602
08-19 23:53:22.582 19126 19250 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
08-19 23:53:22.582 19126 19250 I TSLocationManager:   ­ƒöÁ  Acquired motionchange position, isMoving: false
08-19 23:53:22.637 19126 19250 D TSLocationManager: [c.t.l.l.TSLocationManager a] 21.238
08-19 23:53:22.732 19126 19459 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:53:22.732 19126 19459 I TSLocationManager:     INSERT: eb8776c1-81f7-4f2c-b1e7-376a67d6aaa6
08-19 23:53:22.756 19126 19459 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:53:22.756 19126 19459 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:22.756 19126 19459 D TSLocationManager: Ôòæ HTTP Service
08-19 23:53:22.756 19126 19459 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:22.781 19126 19512 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:53:22.781 19126 19512 D TSLocationManager:     Locked 1 records
08-19 23:53:22.793 19126 19512 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:53:22.793 19126 19512 I TSLocationManager:   ­ƒöÁ  HTTP POST: eb8776c1-81f7-4f2c-b1e7-376a67d6aaa6
08-19 23:53:22.935 19126 19513 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:53:22.935 19126 19513 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:53:22.965 19126 19513 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:53:22.965 19126 19513 D TSLocationManager:     DESTROY: eb8776c1-81f7-4f2c-b1e7-376a67d6aaa6
08-19 23:53:34.601 19126 19250 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] on_foot (59%)
08-19 23:53:43.188 19126 19250 D TSLocationManager: [c.t.l.BackgroundGeolocationService onActivityRecognitionResult] on_foot (93%)
08-19 23:53:43.209 19126 19250 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-19 23:53:43.209 19126 19250 I TSLocationManager:   ­ƒö┤  Stop heartbeat
08-19 23:53:43.225 19126 19250 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
08-19 23:53:43.225 19126 19250 I TSLocationManager:   ­ƒöÁ  setPace: false ÔåÆ true
08-19 23:53:43.241 19126 19250 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:53:43.260 19126 19250 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:53:43.260 19126 19250 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:53:53.526 19126 19250 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
08-19 23:53:53.526 19126 19250 I TSLocationManager:   ­ƒöÁ  Acquired motionchange position, isMoving: true
08-19 23:53:53.534 19126 19126 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:53:53.534 19126 19126 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:53.534 19126 19126 D TSLocationManager: Ôòæ SingleLocationRequest: 2
08-19 23:53:53.534 19126 19126 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:53.534 19126 19126 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334779,112.779896 acc=53 et=+13h47m31s592ms alt=26.0 vel=0.2 bear=260.0 {Bundle[{requestId=2, verticalAccuracy=106.189995}]}], age: 26ms, time: 1534697633609
08-19 23:53:53.904 19126 19250 D TSLocationManager: [c.t.l.l.TSLocationManager a] 37.1665
08-19 23:53:53.960 19126 19250 D TSLocationManager: [c.t.l.l.TSLocationManager a] 37.20181
08-19 23:53:54.005 19126 19250 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
08-19 23:53:54.005 19126 19250 I TSLocationManager:   ­ƒÄ¥  Location-services: ON
08-19 23:53:54.032 19126 19250 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0
08-19 23:53:54.051 19126 19512 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:53:54.051 19126 19512 I TSLocationManager:     INSERT: 94e7556c-0c7c-4729-819b-ee1283ec0594
08-19 23:53:54.085 19126 19512 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:53:54.085 19126 19512 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:54.085 19126 19512 D TSLocationManager: Ôòæ HTTP Service
08-19 23:53:54.085 19126 19512 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:53:54.131 19126 19459 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:53:54.131 19126 19459 D TSLocationManager:     Locked 1 records
08-19 23:53:54.146 19126 19459 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:53:54.146 19126 19459 I TSLocationManager:   ­ƒöÁ  HTTP POST: 94e7556c-0c7c-4729-819b-ee1283ec0594
08-19 23:53:54.266 19126 19513 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:53:54.266 19126 19513 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:53:54.299 19126 19513 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:53:54.299 19126 19513 D TSLocationManager:     DESTROY: 94e7556c-0c7c-4729-819b-ee1283ec0594
08-19 23:54:01.110 19126 19633 I TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:01.110 19126 19633 I TSLocationManager:   Ôä╣´©Å  Location availability: false
08-19 23:54:04.557 19126 19671 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:04.557 19126 19671 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.557 19126 19671 D TSLocationManager: Ôòæ LocationService: location
08-19 23:54:04.557 19126 19671 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.557 19126 19671 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334744,112.779886 acc=51 et=+13h47m42s594ms alt=48.0 vel=1.64 bear=120.0 {Bundle[mParcelledData.dataSize=52]}], age: 58ms, time: 1534697644600
08-19 23:54:04.605 19126 19671 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:54:04.605 19126 19671 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.605 19126 19671 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:54:04.605 19126 19671 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.621 19126 19671 D TSLocationManager: [c.t.l.l.TSLocationManager a] 50.615
08-19 23:54:04.634 19126 19671 D TSLocationManager: [c.t.l.l.TSLocationManager a] 41.22393
08-19 23:54:04.669 19126 19671 I TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:04.669 19126 19671 I TSLocationManager:   Ôä╣´©Å  Location availability: true
08-19 23:54:04.686 19126 19459 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:54:04.686 19126 19459 I TSLocationManager:     INSERT: 331d8c74-0472-4a72-8113-2550a895b34b
08-19 23:54:04.716 19126 19459 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:04.716 19126 19459 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.716 19126 19459 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:04.716 19126 19459 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:04.742 19126 19512 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:54:04.742 19126 19512 D TSLocationManager:     Locked 1 records
08-19 23:54:04.759 19126 19512 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:54:04.759 19126 19512 I TSLocationManager:   ­ƒöÁ  HTTP POST: 331d8c74-0472-4a72-8113-2550a895b34b
08-19 23:54:04.815 19126 19513 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:54:04.815 19126 19513 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:54:04.833 19126 19513 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:54:04.833 19126 19513 D TSLocationManager:     DESTROY: 331d8c74-0472-4a72-8113-2550a895b34b
08-19 23:54:08.444 19126 19126 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-19 23:54:11.610 19689 19757 I TSLocationManager:
08-19 23:54:11.610 19689 19757 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.610 19689 19757 I TSLocationManager: Ôòæ License Validation Failure
08-19 23:54:11.610 19689 19757 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.610 19689 19757 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-19 23:54:11.646 19689 19757 I TSLocationManager: [c.t.l.adapter.TSConfig print]
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.646 19689 19757 I TSLocationManager: Ôòæ TSLocationManager version: 2.12.13 (269)
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.646 19689 19757 I TSLocationManager: {
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "activityRecognitionInterval": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "allowIdenticalLocations": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "autoSync": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "autoSyncThreshold": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "batchSync": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "debug": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "deferTime": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "desiredAccuracy": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "desiredOdometerAccuracy": 100,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "disableElasticity": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "disableStopDetection": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "distanceFilter": 1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "elasticityMultiplier": 1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "enableHeadless": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "extras": {},
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnBoot": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnGeofence": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnHeartbeat": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnLocationChange": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnMotionChange": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "forceReloadOnSchedule": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "foregroundService": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "geofenceProximityRadius": 1000,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "geofenceTemplate": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "headers": {
08-19 23:54:11.646 19689 19757 I TSLocationManager:     "X-FOO": "bar",
08-19 23:54:11.646 19689 19757 I TSLocationManager:     "asd": "asd"
08-19 23:54:11.646 19689 19757 I TSLocationManager:   },
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "headlessJobService": "com.transistorsoft.cordova.bggeo.HeadlessJobService",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "heartbeatInterval": -1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "httpRootProperty": "location",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "httpTimeout": 60000,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "isMoving": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "locationTemplate": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "locationTimeout": 60,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "locationUpdateInterval": 1000,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "locationsOrderDirection": "ASC",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "logLevel": 5,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "logMaxDays": 3,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "maxBatchSize": -1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "maxDaysToPersist": 3,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "maxRecordsToPersist": -1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "method": "POST",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationColor": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationLargeIcon": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationPriority": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationSmallIcon": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationText": "Location Service activated",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "notificationTitle": "",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "params": {
08-19 23:54:11.646 19689 19757 I TSLocationManager:     "USERID": "SUMBER",
08-19 23:54:11.646 19689 19757 I TSLocationManager:     "case": "HISTORY_PERJALANAN"
08-19 23:54:11.646 19689 19757 I TSLocationManager:   },
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "persist": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "schedule": [],
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "startOnBoot": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "stationaryRadius": 25,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "stopOnStationary": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "stopOnTerminate": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "stopTimeout": 5,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "url": "http:\/\/sumberrejekiban.com\/bond\/bond_geolocation.php",
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "enabled": true,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "schedulerEnabled": false,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "trackingMode": 1,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "odometer": 41.22393035888672,
08-19 23:54:11.646 19689 19757 I TSLocationManager:   "isFirstBoot": false
08-19 23:54:11.646 19689 19757 I TSLocationManager: }
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.646 19689 19757 I TSLocationManager: Ôòæ DEVICE SENSORS
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòƒÔöÇ Ô£à  ACCELEROMETER: {Sensor name="BMI120 Accelerometer", vendor="BOSCH", version=2062701, type=1, maxRange=39.22661, resolution=0.0023956299, power=0.18, minDelay=5000}
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòƒÔöÇ Ô£à  GYROSCOPE: {Sensor name="BMI120 Gyroscope", vendor="BOSCH", version=2062701, type=4, maxRange=34.906586, resolution=0.0010681152, power=0.9, minDelay=5000}
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòƒÔöÇ Ô£à  MAGNETOMETER: {Sensor name="YAS537 Magnetometer", vendor="Yamaha", version=35193090, type=2, maxRange=2000.0, resolution=0.30059814, power=0.28, minDelay=10000}
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòƒÔöÇ Ô£à  SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.17999268, minDelay=-1}
08-19 23:54:11.646 19689 19757 I TSLocationManager: ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.727 19689 19757 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
08-19 23:54:11.727 19689 19757 I TSLocationManager:     Google Play Services: connected (version code:11910000)
08-19 23:54:11.754 19689 19757 D TSLocationManager: [c.t.locationmanager.data.a.c a]
08-19 23:54:11.754 19689 19757 D TSLocationManager:     Opened database
08-19 23:54:11.765 19689 19757 D TSLocationManager: [c.t.locationmanager.data.a.c prune]
08-19 23:54:11.765 19689 19757 D TSLocationManager:   Ôä╣´©Å  PRUNE -3 days
08-19 23:54:11.801 19689 19757 D TSLocationManager: [c.t.locationmanager.data.a.a f]
08-19 23:54:11.801 19689 19757 D TSLocationManager:     Opened database
08-19 23:54:11.822 19689 19757 D TSLocationManager: $ addLocationListener()
08-19 23:54:11.826 19689 19757 D TSLocationManager: $ addMotionChangeListener()
08-19 23:54:11.829 19689 19757 D TSLocationManager: $ addGeofenceListener()
08-19 23:54:11.831 19689 19757 D TSLocationManager: $ addHttpListener()
08-19 23:54:11.835 19689 19757 D TSLocationManager: $ ready()
08-19 23:54:11.900 19689 19757 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:54:11.922 19689 19757 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:54:11.922 19689 19757 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:54:11.932 19689 19766 I TSLocationManager: - Enable: true  true, trackingMode: 1
08-19 23:54:11.937 19689 19757 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:11.937 19689 19757 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.937 19689 19757 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:11.937 19689 19757 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.944 19689 19689 I TSLocationManager: [c.t.l.BackgroundGeolocationService onStartCommand]
08-19 23:54:11.944 19689 19689 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.944 19689 19689 I TSLocationManager: Ôòæ BackgroundGeolocation Service started
08-19 23:54:11.944 19689 19689 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:11.949 19689 19757 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true
08-19 23:54:11.959 19689 19689 I TSLocationManager: [c.t.l.ActivityRecognitionService a]
08-19 23:54:11.959 19689 19689 I TSLocationManager:   ­ƒÄ¥  Start activity updates: 0
08-19 23:54:11.972 19689 19757 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:54:11.972 19689 19757 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:54:11.980 19689 19689 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
08-19 23:54:11.980 19689 19689 I TSLocationManager:   ­ƒöÁ  setPace: null ÔåÆ false
08-19 23:54:11.991 19689 19689 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:54:11.992 19689 19757 I TSLocationManager: [c.t.l.BackgroundGeolocationService a]
08-19 23:54:11.992 19689 19757 I TSLocationManager:   ­ƒöÁ  setPace: false ÔåÆ false
08-19 23:54:12.006 19689 19689 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:54:12.006 19689 19689 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:54:12.010 19689 19757 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:54:12.033 19689 19763 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:12.033 19689 19763 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.033 19689 19763 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:12.033 19689 19763 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.035 19689 19757 D TSLocationManager: [c.t.locationmanager.util.b a]
08-19 23:54:12.035 19689 19757 D TSLocationManager:   Ôä╣´©Å  LocationAuthorization: Permission granted
08-19 23:54:12.499 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:12.499 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.499 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 2
08-19 23:54:12.499 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.499 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334769,112.780107 acc=33 et=+13h47m50s589ms alt=63.0 vel=0.27 bear=130.0 {Bundle[{requestId=2, verticalAccuracy=94.054}]}], age: 8ms, time: 1534697652600
08-19 23:54:12.500 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:12.515 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:12.515 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.515 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 1
08-19 23:54:12.515 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.515 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334769,112.780107 acc=33 et=+13h47m50s589ms alt=63.0 vel=0.27 bear=130.0 {Bundle[{requestId=1, verticalAccuracy=94.054}]}], age: 25ms, time: 1534697652600
08-19 23:54:12.533 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:12.533 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.533 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 3
08-19 23:54:12.533 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:12.533 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334769,112.780107 acc=33 et=+13h47m50s589ms alt=63.0 vel=0.27 bear=130.0 {Bundle[{requestId=3, verticalAccuracy=94.054}]}], age: 43ms, time: 1534697652600
08-19 23:54:12.549 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:12.574 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:13.516 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:13.516 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.516 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 2
08-19 23:54:13.516 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.516 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334733,112.780049 acc=31 et=+13h47m51s591ms alt=31.0 vel=0.59 bear=130.0 {Bundle[{requestId=2, verticalAccuracy=94.054}]}], age: 23ms, time: 1534697653599
08-19 23:54:13.518 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:13.544 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:13.544 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.544 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 1
08-19 23:54:13.544 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.544 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334733,112.780049 acc=31 et=+13h47m51s591ms alt=31.0 vel=0.59 bear=130.0 {Bundle[{requestId=1, verticalAccuracy=94.054}]}], age: 51ms, time: 1534697653599
08-19 23:54:13.557 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:13.564 19689 19689 D TSLocationManager: [c.t.l.l.SingleLocationRequest$2 onLocationResult]
08-19 23:54:13.564 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.564 19689 19689 D TSLocationManager: Ôòæ SingleLocationRequest: 3
08-19 23:54:13.564 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.564 19689 19689 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334733,112.780049 acc=31 et=+13h47m51s591ms alt=31.0 vel=0.59 bear=130.0 {Bundle[{requestId=3, verticalAccuracy=94.054}]}], age: 71ms, time: 1534697653599
08-19 23:54:13.587 19689 19763 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.080498
08-19 23:54:13.629 19689 19757 D TSLocationManager: $ stop()
08-19 23:54:13.633 19689 19757 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:54:13.655 19689 19689 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy]
08-19 23:54:13.655 19689 19689 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.655 19689 19689 D TSLocationManager: Ôòæ BackgroundGeolocationService destroyed
08-19 23:54:13.655 19689 19689 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:13.676 19689 19689 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 23:54:13.676 19689 19689 D TSLocationManager:   ­ƒö┤  Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@2d642c4
08-19 23:54:13.695 19689 19689 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 23:54:13.695 19689 19689 D TSLocationManager:   ­ƒö┤  Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@52a55ad
08-19 23:54:13.709 19689 19689 I TSLocationManager: [c.t.l.ActivityRecognitionService b]
08-19 23:54:13.709 19689 19689 I TSLocationManager:   ­ƒö┤  Stop activity updates
08-19 23:54:13.725 19689 19689 D TSLocationManager: [c.t.l.l.TSLocationManager c]
08-19 23:54:13.725 19689 19689 D TSLocationManager:   ­ƒö┤  Stop LocationRequest: 1
08-19 23:54:13.737 19689 19689 D TSLocationManager: [c.t.l.l.TSLocationManager c]
08-19 23:54:13.737 19689 19689 D TSLocationManager:   ­ƒö┤  Stop LocationRequest: 3
08-19 23:54:13.750 19689 19689 D TSLocationManager: [c.t.l.l.TSLocationManager c]
08-19 23:54:13.750 19689 19689 D TSLocationManager:   ­ƒö┤  Stop LocationRequest: 2
08-19 23:54:13.766 19689 19689 D TSLocationManager: [c.t.l.g.TSGeofenceManager b]
08-19 23:54:13.766 19689 19689 D TSLocationManager:   ­ƒö┤  Stop monitoring geofences
08-19 23:54:13.781 19689 19689 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-19 23:54:13.781 19689 19689 I TSLocationManager:   ­ƒö┤  Stop heartbeat
08-19 23:54:14.527 19689 19770 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:14.527 19689 19770 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.527 19689 19770 D TSLocationManager: Ôòæ LocationService: location
08-19 23:54:14.527 19689 19770 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.527 19689 19770 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334731,112.779995 acc=34 et=+13h47m52s597ms alt=43.0 vel=2.32 bear=299.0 {Bundle[mParcelledData.dataSize=52]}], age: 29ms, time: 1534697654600
08-19 23:54:14.547 19689 19770 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:54:14.547 19689 19770 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.547 19689 19770 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:54:14.547 19689 19770 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.559 19689 19770 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.663
08-19 23:54:14.602 19689 19766 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:54:14.602 19689 19766 I TSLocationManager:     INSERT: b2b2c0d1-98c9-49ef-b382-bc8410328a86
08-19 23:54:14.624 19689 19766 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:14.624 19689 19766 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.624 19689 19766 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:14.624 19689 19766 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:14.653 19689 19771 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:54:14.653 19689 19771 D TSLocationManager:     Locked 1 records
08-19 23:54:14.670 19689 19771 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:54:14.670 19689 19771 I TSLocationManager:   ­ƒöÁ  HTTP POST: b2b2c0d1-98c9-49ef-b382-bc8410328a86
08-19 23:54:14.780 19689 19773 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:54:14.780 19689 19773 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:54:14.803 19689 19773 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:54:14.803 19689 19773 D TSLocationManager:     DESTROY: b2b2c0d1-98c9-49ef-b382-bc8410328a86
08-19 23:54:25.529 19689 19789 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:25.529 19689 19789 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.529 19689 19789 D TSLocationManager: Ôòæ LocationService: location
08-19 23:54:25.529 19689 19789 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.529 19689 19789 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334801,112.780025 acc=16 et=+13h48m3s592ms alt=32.0 vel=0.6 bear=265.0 {Bundle[mParcelledData.dataSize=52]}], age: 36ms, time: 1534697665604
08-19 23:54:25.551 19689 19789 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:54:25.551 19689 19789 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.551 19689 19789 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:54:25.551 19689 19789 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.565 19689 19789 D TSLocationManager: [c.t.l.l.TSLocationManager a] 32.080498
08-19 23:54:25.617 19689 19771 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:54:25.617 19689 19771 I TSLocationManager:     INSERT: 2ad7e8fa-b1bd-4098-ac02-42f484ccfd6d
08-19 23:54:25.637 19689 19771 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:25.637 19689 19771 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.637 19689 19771 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:25.637 19689 19771 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:25.667 19689 19766 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:54:25.667 19689 19766 D TSLocationManager:     Locked 1 records
08-19 23:54:25.684 19689 19766 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:54:25.684 19689 19766 I TSLocationManager:   ­ƒöÁ  HTTP POST: 2ad7e8fa-b1bd-4098-ac02-42f484ccfd6d
08-19 23:54:25.732 19689 19773 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:54:25.732 19689 19773 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:54:25.754 19689 19773 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:54:25.754 19689 19773 D TSLocationManager:     DESTROY: 2ad7e8fa-b1bd-4098-ac02-42f484ccfd6d
08-19 23:54:39.011 19689 19795 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:54:39.011 19689 19795 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.011 19689 19795 D TSLocationManager: Ôòæ LocationService: location
08-19 23:54:39.011 19689 19795 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.011 19689 19795 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334738,112.779894 acc=10 et=+13h48m17s84ms alt=20.0 vel=1.55 bear=246.0 {Bundle[mParcelledData.dataSize=52]}], age: 26ms, time: 1534697678981
08-19 23:54:39.036 19689 19795 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:54:39.036 19689 19795 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.036 19689 19795 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:54:39.036 19689 19795 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.050 19689 19795 D TSLocationManager: [c.t.l.l.TSLocationManager a] 31.498
08-19 23:54:39.085 19689 19766 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:54:39.085 19689 19766 I TSLocationManager:     INSERT: 3d8f813d-652c-4ee8-afb0-eccbd96229e9
08-19 23:54:39.109 19689 19766 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:54:39.109 19689 19766 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.109 19689 19766 D TSLocationManager: Ôòæ HTTP Service
08-19 23:54:39.109 19689 19766 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:54:39.130 19689 19771 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:54:39.130 19689 19771 D TSLocationManager:     Locked 1 records
08-19 23:54:39.141 19689 19771 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:54:39.141 19689 19771 I TSLocationManager:   ­ƒöÁ  HTTP POST: 3d8f813d-652c-4ee8-afb0-eccbd96229e9
08-19 23:54:39.208 19689 19773 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:54:39.208 19689 19773 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:54:39.229 19689 19773 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:54:39.229 19689 19773 D TSLocationManager:     DESTROY: 3d8f813d-652c-4ee8-afb0-eccbd96229e9

@christocracy
Copy link
Member

After you execute bgGeo.stop(), open Javasript console and show me the result of:

> bg = window.BackgroundGeolocation
> await bg.getState()

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

image
image

Here is the javascript code @christocracy

@christocracy
Copy link
Member

christocracy commented Aug 19, 2018

enabled: false.

With the plugin in this state (ie: stopped).

  • $ adb logcat -s TSLocationManager
  • Terminate app
  • Reboot app.

Show me the logs.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

in config ready ?

@christocracy
Copy link
Member

I don't know what you mean. Don't change anything.

With your app "Logged out", perform the steps above.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

08-20 00:36:27.619  2582  2696 D TSLocationManager: $ stop()
08-20 00:36:27.621  2582  2696 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-20 00:36:27.644  2582  2582 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy]
08-20 00:36:27.644  2582  2582 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:27.644  2582  2582 D TSLocationManager: Ôòæ BackgroundGeolocationService destroyed
08-20 00:36:27.644  2582  2582 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:27.660  2582  2582 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-20 00:36:27.660  2582  2582 D TSLocationManager:   ­ƒö┤  Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@20b6d18
08-20 00:36:27.679  2582  2582 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-20 00:36:27.679  2582  2582 D TSLocationManager:   ­ƒö┤  Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@2aaf371
08-20 00:36:27.696  2582  2582 I TSLocationManager: [c.t.l.ActivityRecognitionService b]
08-20 00:36:27.696  2582  2582 I TSLocationManager:   ­ƒö┤  Stop activity updates
08-20 00:36:27.718  2582  2582 D TSLocationManager: [c.t.l.g.TSGeofenceManager b]
08-20 00:36:27.718  2582  2582 D TSLocationManager:   ­ƒö┤  Stop monitoring geofences
08-20 00:36:27.735  2582  2582 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-20 00:36:27.735  2582  2582 I TSLocationManager:   ­ƒö┤  Stop heartbeat
08-20 00:36:29.804  2582  2726 D TSLocationManager: [c.t.l.LocationService onLocation]
08-20 00:36:29.804  2582  2726 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.804  2582  2726 D TSLocationManager: Ôòæ LocationService: location
08-20 00:36:29.804  2582  2726 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.804  2582  2726 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334686,112.779896 acc=12 et=+14h30m9s585ms alt=62.0 vel=1.51 bear=116.0 {Bundle[mParcelledData.dataSize=52]}], age: 61ms, time: 1534700189597
08-20 00:36:29.821  2582  2726 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-20 00:36:29.821  2582  2726 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.821  2582  2726 D TSLocationManager: Ôòæ Process LocationResult
08-20 00:36:29.821  2582  2726 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.834  2582  2726 D TSLocationManager: [c.t.l.l.TSLocationManager a] 12.001499
08-20 00:36:29.865  2582  2716 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-20 00:36:29.865  2582  2716 I TSLocationManager:     INSERT: e6b60080-02ef-4a2c-9a09-b512490ff1c1
08-20 00:36:29.893  2582  2716 D TSLocationManager: [c.t.l.http.HttpService flush]
08-20 00:36:29.893  2582  2716 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.893  2582  2716 D TSLocationManager: Ôòæ HTTP Service
08-20 00:36:29.893  2582  2716 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:29.921  2582  2713 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 00:36:29.921  2582  2713 D TSLocationManager:     Locked 1 records
08-20 00:36:29.931  2582  2713 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 00:36:29.931  2582  2713 I TSLocationManager:   ­ƒöÁ  HTTP POST: e6b60080-02ef-4a2c-9a09-b512490ff1c1
08-20 00:36:29.975  2582  2717 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 00:36:29.975  2582  2717 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 00:36:29.998  2582  2717 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 00:36:29.998  2582  2717 D TSLocationManager:     DESTROY: e6b60080-02ef-4a2c-9a09-b512490ff1c1
08-20 00:36:34.263  2582  2582 I TSLocationManager: - onPause
08-20 00:36:34.977  2582  2582 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-20 00:36:37.395  2750  2844 I TSLocationManager:
08-20 00:36:37.395  2750  2844 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.395  2750  2844 I TSLocationManager: Ôòæ License Validation Failure
08-20 00:36:37.395  2750  2844 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.395  2750  2844 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-20 00:36:37.433  2750  2844 I TSLocationManager: [c.t.l.adapter.TSConfig print]
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.433  2750  2844 I TSLocationManager: Ôòæ TSLocationManager version: 2.12.13 (269)
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.433  2750  2844 I TSLocationManager: {
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "activityRecognitionInterval": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "allowIdenticalLocations": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "autoSync": true,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "autoSyncThreshold": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "batchSync": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "debug": true,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "deferTime": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "desiredAccuracy": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "desiredOdometerAccuracy": 100,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "disableElasticity": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "disableStopDetection": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "distanceFilter": 1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "elasticityMultiplier": 1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "enableHeadless": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "extras": {},
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnBoot": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnGeofence": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnHeartbeat": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnLocationChange": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnMotionChange": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "forceReloadOnSchedule": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "foregroundService": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "geofenceProximityRadius": 1000,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "geofenceTemplate": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "headers": {
08-20 00:36:37.433  2750  2844 I TSLocationManager:     "X-FOO": "bar",
08-20 00:36:37.433  2750  2844 I TSLocationManager:     "asd": "asd"
08-20 00:36:37.433  2750  2844 I TSLocationManager:   },
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "headlessJobService": "com.transistorsoft.cordova.bggeo.HeadlessJobService",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "heartbeatInterval": -1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "httpRootProperty": "location",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "httpTimeout": 60000,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "isMoving": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "locationTemplate": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "locationTimeout": 60,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "locationUpdateInterval": 1000,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "locationsOrderDirection": "ASC",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "logLevel": 5,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "logMaxDays": 3,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "maxBatchSize": -1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "maxDaysToPersist": 3,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "maxRecordsToPersist": -1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "method": "POST",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationColor": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationLargeIcon": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationPriority": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationSmallIcon": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationText": "Location Service activated",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "notificationTitle": "",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "params": {
08-20 00:36:37.433  2750  2844 I TSLocationManager:     "USERID": "SUMBER",
08-20 00:36:37.433  2750  2844 I TSLocationManager:     "case": "HISTORY_PERJALANAN"
08-20 00:36:37.433  2750  2844 I TSLocationManager:   },
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "persist": true,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "schedule": [],
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "startOnBoot": true,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "stationaryRadius": 25,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "stopOnStationary": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "stopOnTerminate": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "stopTimeout": 5,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "url": "http:\/\/sumberrejekiban.com\/bond\/bond_geolocation.php",
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "enabled": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "schedulerEnabled": false,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "trackingMode": 1,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "odometer": 52.081085205078125,
08-20 00:36:37.433  2750  2844 I TSLocationManager:   "isFirstBoot": false
08-20 00:36:37.433  2750  2844 I TSLocationManager: }
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.433  2750  2844 I TSLocationManager: Ôòæ DEVICE SENSORS
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòƒÔöÇ Ô£à  ACCELEROMETER: {Sensor name="BMI120 Accelerometer", vendor="BOSCH", version=2062701, type=1, maxRange=39.22661, resolution=0.0023956299, power=0.18, minDelay=5000}
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòƒÔöÇ Ô£à  GYROSCOPE: {Sensor name="BMI120 Gyroscope", vendor="BOSCH", version=2062701, type=4, maxRange=34.906586, resolution=0.0010681152, power=0.9, minDelay=5000}
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòƒÔöÇ Ô£à  MAGNETOMETER: {Sensor name="YAS537 Magnetometer", vendor="Yamaha", version=35193090, type=2, maxRange=2000.0, resolution=0.30059814, power=0.28, minDelay=10000}
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòƒÔöÇ Ô£à  SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.17999268, minDelay=-1}
08-20 00:36:37.433  2750  2844 I TSLocationManager: ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:37.523  2750  2844 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
08-20 00:36:37.523  2750  2844 I TSLocationManager:     Google Play Services: connected (version code:11910000)
08-20 00:36:37.550  2750  2844 D TSLocationManager: [c.t.locationmanager.data.a.c a]
08-20 00:36:37.550  2750  2844 D TSLocationManager:     Opened database
08-20 00:36:37.562  2750  2844 D TSLocationManager: [c.t.locationmanager.data.a.c prune]
08-20 00:36:37.562  2750  2844 D TSLocationManager:   Ôä╣´©Å  PRUNE -3 days
08-20 00:36:37.600  2750  2844 D TSLocationManager: [c.t.locationmanager.data.a.a f]
08-20 00:36:37.600  2750  2844 D TSLocationManager:     Opened database
08-20 00:36:37.620  2750  2844 D TSLocationManager: $ addLocationListener()
08-20 00:36:37.624  2750  2844 D TSLocationManager: $ addMotionChangeListener()
08-20 00:36:37.627  2750  2844 D TSLocationManager: $ addGeofenceListener()
08-20 00:36:37.629  2750  2844 D TSLocationManager: $ addHttpListener()
08-20 00:36:37.632  2750  2844 D TSLocationManager: $ ready()
08-20 00:36:37.689  2750  2844 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-20 00:36:37.711  2750  2844 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true
08-20 00:36:39.808  2750  2861 D TSLocationManager: [c.t.l.LocationService onLocation]
08-20 00:36:39.808  2750  2861 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.808  2750  2861 D TSLocationManager: Ôòæ LocationService: location
08-20 00:36:39.808  2750  2861 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.808  2750  2861 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334714,112.780020 acc=16 et=+14h30m19s594ms alt=92.0 vel=1.15 bear=37.0 {Bundle[mParcelledData.dataSize=52]}], age: 55ms, time: 1534700199000
08-20 00:36:39.829  2750  2861 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-20 00:36:39.829  2750  2861 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.829  2750  2861 D TSLocationManager: Ôòæ Process LocationResult
08-20 00:36:39.829  2750  2861 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.847  2750  2861 D TSLocationManager: [c.t.l.l.TSLocationManager a] 16.351
08-20 00:36:39.922  2750  2865 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-20 00:36:39.922  2750  2865 I TSLocationManager:     INSERT: 664ecad1-b1e1-478f-bde4-2b437040a5df
08-20 00:36:39.944  2750  2865 D TSLocationManager: [c.t.l.http.HttpService flush]
08-20 00:36:39.944  2750  2865 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.944  2750  2865 D TSLocationManager: Ôòæ HTTP Service
08-20 00:36:39.944  2750  2865 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 00:36:39.980  2750  2867 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 00:36:39.980  2750  2867 D TSLocationManager:     Locked 1 records
08-20 00:36:39.992  2750  2867 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 00:36:39.992  2750  2867 I TSLocationManager:   ­ƒöÁ  HTTP POST: 664ecad1-b1e1-478f-bde4-2b437040a5df
08-20 00:36:40.081  2750  2870 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 00:36:40.081  2750  2870 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 00:36:40.099  2750  2870 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 00:36:40.099  2750  2870 D TSLocationManager:     DESTROY: 664ecad1-b1e1-478f-bde4-2b437040a5df
08-20 00:36:41.831  2750  2750 I TSLocationManager: - onPause

do you mean this ? after click bgGeo.stop()

@christocracy
Copy link
Member

Reboot your device and try again.

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

still no luck @christocracy, tracking still running

@okkypt
Copy link
Author

okkypt commented Aug 19, 2018

08-20 01:18:21.203 13459 13564 D TSLocationManager: $ stop()
08-20 01:18:21.205 13459 13564 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-20 01:18:21.222 13459 13459 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy]
08-20 01:18:21.222 13459 13459 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:21.222 13459 13459 D TSLocationManager: Ôòæ BackgroundGeolocationService destroyed
08-20 01:18:21.222 13459 13459 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:21.224 13459 13572 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 01:18:21.224 13459 13572 D TSLocationManager:     Locked 1 records
08-20 01:18:21.232 13459 13459 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-20 01:18:21.232 13459 13459 D TSLocationManager:   ­ƒö┤  Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@ebd79b
08-20 01:18:21.240 13459 13572 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 01:18:21.240 13459 13572 I TSLocationManager:   ­ƒöÁ  HTTP POST: 7de862bf-ad88-4e50-bbe5-9511cd06c39d
08-20 01:18:21.249 13459 13459 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-20 01:18:21.249 13459 13459 D TSLocationManager:   ­ƒö┤  Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@cfe3738
08-20 01:18:21.266 13459 13459 I TSLocationManager: [c.t.l.ActivityRecognitionService b]
08-20 01:18:21.266 13459 13459 I TSLocationManager:   ­ƒö┤  Stop activity updates
08-20 01:18:21.277 13459 13459 D TSLocationManager: [c.t.l.g.TSGeofenceManager b]
08-20 01:18:21.277 13459 13459 D TSLocationManager:   ­ƒö┤  Stop monitoring geofences
08-20 01:18:21.286 13459 13491 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 01:18:21.286 13459 13491 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 01:18:21.290 13459 13459 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-20 01:18:21.290 13459 13459 I TSLocationManager:   ­ƒö┤  Stop heartbeat
08-20 01:18:21.297 13459 13491 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 01:18:21.297 13459 13491 D TSLocationManager:     DESTROY: 7de862bf-ad88-4e50-bbe5-9511cd06c39d
08-20 01:18:24.953 13459 13578 D TSLocationManager: [c.t.l.LocationService onLocation]
08-20 01:18:24.953 13459 13578 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:24.953 13459 13578 D TSLocationManager: Ôòæ LocationService: location
08-20 01:18:24.953 13459 13578 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:24.953 13459 13578 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334721,112.779827 acc=12 et=+9m4s228ms alt=44.0 vel=0.37 bear=224.0 {Bundle[mParcelledData.dataSize=52]}], age: 39ms, time: 1534702704760
08-20 01:18:24.973 13459 13578 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-20 01:18:24.973 13459 13578 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:24.973 13459 13578 D TSLocationManager: Ôòæ Process LocationResult
08-20 01:18:24.973 13459 13578 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:24.998 13459 13578 D TSLocationManager: [c.t.l.l.TSLocationManager a] 10.0
08-20 01:18:25.035 13459 13490 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-20 01:18:25.035 13459 13490 I TSLocationManager:     INSERT: c1205cbb-2764-4bce-b44a-37eb53605a99
08-20 01:18:25.071 13459 13490 D TSLocationManager: [c.t.l.http.HttpService flush]
08-20 01:18:25.071 13459 13490 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:25.071 13459 13490 D TSLocationManager: Ôòæ HTTP Service
08-20 01:18:25.071 13459 13490 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:25.107 13459 13487 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 01:18:25.107 13459 13487 D TSLocationManager:     Locked 1 records
08-20 01:18:25.120 13459 13487 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 01:18:25.120 13459 13487 I TSLocationManager:   ­ƒöÁ  HTTP POST: c1205cbb-2764-4bce-b44a-37eb53605a99
08-20 01:18:25.168 13459 13491 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 01:18:25.168 13459 13491 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 01:18:25.189 13459 13491 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 01:18:25.189 13459 13491 D TSLocationManager:     DESTROY: c1205cbb-2764-4bce-b44a-37eb53605a99
08-20 01:18:27.744 13459 13459 I TSLocationManager: - onPause
08-20 01:18:35.176 13459 13611 D TSLocationManager: [c.t.l.LocationService onLocation]
08-20 01:18:35.176 13459 13611 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.176 13459 13611 D TSLocationManager: Ôòæ LocationService: location
08-20 01:18:35.176 13459 13611 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.176 13459 13611 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334711,112.779854 acc=10 et=+9m14s463ms alt=51.0 vel=0.0 {Bundle[mParcelledData.dataSize=52]}], age: 26ms, time: 1534702715000
08-20 01:18:35.202 13459 13611 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-20 01:18:35.202 13459 13611 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.202 13459 13611 D TSLocationManager: Ôòæ Process LocationResult
08-20 01:18:35.202 13459 13611 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.216 13459 13611 D TSLocationManager: [c.t.l.l.TSLocationManager a] 10.0
08-20 01:18:35.259 13459 13487 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-20 01:18:35.259 13459 13487 I TSLocationManager:     INSERT: b96ec0bc-9250-424c-afe8-406183f5dac2
08-20 01:18:35.284 13459 13487 D TSLocationManager: [c.t.l.http.HttpService flush]
08-20 01:18:35.284 13459 13487 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.284 13459 13487 D TSLocationManager: Ôòæ HTTP Service
08-20 01:18:35.284 13459 13487 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:35.315 13459 13490 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 01:18:35.315 13459 13490 D TSLocationManager:     Locked 1 records
08-20 01:18:35.333 13459 13490 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 01:18:35.333 13459 13490 I TSLocationManager:   ­ƒöÁ  HTTP POST: b96ec0bc-9250-424c-afe8-406183f5dac2
08-20 01:18:35.423 13459 13491 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 01:18:35.423 13459 13491 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 01:18:35.446 13459 13491 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 01:18:35.446 13459 13491 D TSLocationManager:     DESTROY: b96ec0bc-9250-424c-afe8-406183f5dac2
08-20 01:18:45.233 13459 13613 D TSLocationManager: [c.t.l.LocationService onLocation]
08-20 01:18:45.233 13459 13613 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:45.233 13459 13613 D TSLocationManager: Ôòæ LocationService: location
08-20 01:18:45.233 13459 13613 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:45.233 13459 13613 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334708,112.779836 acc=10 et=+9m24s494ms alt=51.0 vel=0.0 {Bundle[mParcelledData.dataSize=52]}], age: 53ms, time: 1534702725000
08-20 01:18:46.265 13459 13613 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-20 01:18:46.265 13459 13613 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:46.265 13459 13613 D TSLocationManager: Ôòæ Process LocationResult
08-20 01:18:46.265 13459 13613 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:46.279 13459 13613 D TSLocationManager: [c.t.l.l.TSLocationManager a] 10.0
08-20 01:18:46.322 13459 13490 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-20 01:18:46.322 13459 13490 I TSLocationManager:     INSERT: ff39e9b5-894b-4834-95c0-46128581b367
08-20 01:18:46.345 13459 13490 D TSLocationManager: [c.t.l.http.HttpService flush]
08-20 01:18:46.345 13459 13490 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:46.345 13459 13490 D TSLocationManager: Ôòæ HTTP Service
08-20 01:18:46.345 13459 13490 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:46.367 13459 13487 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-20 01:18:46.367 13459 13487 D TSLocationManager:     Locked 1 records
08-20 01:18:46.379 13459 13487 I TSLocationManager: [c.t.l.http.HttpService a]
08-20 01:18:46.379 13459 13487 I TSLocationManager:   ­ƒöÁ  HTTP POST: ff39e9b5-894b-4834-95c0-46128581b367
08-20 01:18:46.450 13459 13491 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-20 01:18:46.450 13459 13491 I TSLocationManager:   ­ƒöÁ  Response: 200
08-20 01:18:46.476 13459 13491 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-20 01:18:46.476 13459 13491 D TSLocationManager:     DESTROY: ff39e9b5-894b-4834-95c0-46128581b367
08-20 01:18:51.770 13459 13459 I TSLocationManager: - onResume
08-20 01:18:52.879 13459 13459 I TSLocationManager: - onPause
08-20 01:18:53.644 13459 13459 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-20 01:18:56.585 13667 13736 I TSLocationManager:
08-20 01:18:56.585 13667 13736 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.585 13667 13736 I TSLocationManager: Ôòæ License Validation Failure
08-20 01:18:56.585 13667 13736 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.585 13667 13736 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-20 01:18:56.622 13667 13736 I TSLocationManager: [c.t.l.adapter.TSConfig print]
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.622 13667 13736 I TSLocationManager: Ôòæ TSLocationManager version: 2.12.13 (269)
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.622 13667 13736 I TSLocationManager: {
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "activityRecognitionInterval": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "allowIdenticalLocations": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "autoSync": true,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "autoSyncThreshold": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "batchSync": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "debug": true,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "deferTime": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "desiredAccuracy": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "desiredOdometerAccuracy": 100,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "disableElasticity": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "disableStopDetection": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "distanceFilter": 1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "elasticityMultiplier": 1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "enableHeadless": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "extras": {},
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "fastestLocationUpdateInterval": 10000,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnBoot": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnGeofence": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnHeartbeat": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnLocationChange": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnMotionChange": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "forceReloadOnSchedule": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "foregroundService": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "geofenceProximityRadius": 1000,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "geofenceTemplate": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "headers": {
08-20 01:18:56.622 13667 13736 I TSLocationManager:     "X-FOO": "bar",
08-20 01:18:56.622 13667 13736 I TSLocationManager:     "asd": "asd"
08-20 01:18:56.622 13667 13736 I TSLocationManager:   },
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "headlessJobService": "com.transistorsoft.cordova.bggeo.HeadlessJobService",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "heartbeatInterval": -1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "httpRootProperty": "location",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "httpTimeout": 60000,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "isMoving": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "locationTemplate": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "locationTimeout": 60,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "locationUpdateInterval": 1000,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "locationsOrderDirection": "ASC",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "logLevel": 5,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "logMaxDays": 3,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "maxBatchSize": -1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "maxDaysToPersist": 3,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "maxRecordsToPersist": -1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "method": "POST",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationColor": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationLargeIcon": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationPriority": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationSmallIcon": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationText": "Location Service activated",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "notificationTitle": "",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "params": {
08-20 01:18:56.622 13667 13736 I TSLocationManager:     "USERID": "SUMBER",
08-20 01:18:56.622 13667 13736 I TSLocationManager:     "case": "HISTORY_PERJALANAN"
08-20 01:18:56.622 13667 13736 I TSLocationManager:   },
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "persist": true,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "schedule": [],
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "startOnBoot": true,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "stationaryRadius": 25,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "stopOnStationary": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "stopOnTerminate": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "stopTimeout": 5,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "url": "http:\/\/sumberrejekiban.com\/bond\/bond_geolocation.php",
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "enabled": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "schedulerEnabled": false,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "trackingMode": 1,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "odometer": 13.722826957702637,
08-20 01:18:56.622 13667 13736 I TSLocationManager:   "isFirstBoot": false
08-20 01:18:56.622 13667 13736 I TSLocationManager: }
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.622 13667 13736 I TSLocationManager: Ôòæ DEVICE SENSORS
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòƒÔöÇ Ô£à  ACCELEROMETER: {Sensor name="BMI120 Accelerometer", vendor="BOSCH", version=2062701, type=1, maxRange=39.22661, resolution=0.0023956299, power=0.18, minDelay=5000}
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòƒÔöÇ Ô£à  GYROSCOPE: {Sensor name="BMI120 Gyroscope", vendor="BOSCH", version=2062701, type=4, maxRange=34.906586, resolution=0.0010681152, power=0.9, minDelay=5000}
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòƒÔöÇ Ô£à  MAGNETOMETER: {Sensor name="YAS537 Magnetometer", vendor="Yamaha", version=35193090, type=2, maxRange=2000.0, resolution=0.30059814, power=0.28, minDelay=10000}
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòƒÔöÇ Ô£à  SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.17999268, minDelay=-1}
08-20 01:18:56.622 13667 13736 I TSLocationManager: ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-20 01:18:56.708 13667 13736 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
08-20 01:18:56.708 13667 13736 I TSLocationManager:     Google Play Services: connected (version code:11910000)
08-20 01:18:56.736 13667 13736 D TSLocationManager: [c.t.locationmanager.data.a.c a]
08-20 01:18:56.736 13667 13736 D TSLocationManager:     Opened database
08-20 01:18:56.748 13667 13736 D TSLocationManager: [c.t.locationmanager.data.a.c prune]
08-20 01:18:56.748 13667 13736 D TSLocationManager:   Ôä╣´©Å  PRUNE -3 days
08-20 01:18:56.785 13667 13736 D TSLocationManager: [c.t.locationmanager.data.a.a f]
08-20 01:18:56.785 13667 13736 D TSLocationManager:     Opened database
08-20 01:18:56.805 13667 13736 D TSLocationManager: $ addLocationListener()
08-20 01:18:56.808 13667 13736 D TSLocationManager: $ addMotionChangeListener()
08-20 01:18:56.811 13667 13736 D TSLocationManager: $ addGeofenceListener()
08-20 01:18:56.812 13667 13736 D TSLocationManager: $ addHttpListener()
08-20 01:18:56.815 13667 13736 D TSLocationManager: $ ready()
08-20 01:18:56.875 13667 13736 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-20 01:18:56.902 13667 13736 D TSLocationManager: [c.t.l.a.BackgroundGeolocation ready] LocationPermission :true

the log is after reboot my device. i do the same thing. after stop, terminate/killed the app and open the app again. still no luck.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

@christocracy after i change my code like this

    // Dom7
    var $$ = Dom7;

    // Framework7 App main instance
    var myApp  = new Framework7({
        root: '#app', // App root element
        pushState:false,
        id: 'io.framework7.testapp', // App bundle ID
        name: 'Easy Sales Pro', // App name
        theme: 'auto', // Automatic theme detection

        // App root data
        data: function () {
            return {
                user: {
                    firstName: 'John',
                    lastName: 'Doe',
                },
            };
        },
        // App root methods
        methods: {
            helloWorld: function () {
                myApp.dialog.alert('Hello World!');
            },
        },
        // App routes
        routes: routes,
    });

    // Init/Create main view
    var mainView = myApp.views.create('.view-main', {
        url: '/'
    });

var bgGeo;

    document.addEventListener("backbutton", deviceBackButton, false);
    function deviceBackButton(){
    }

   

    function onDeviceReady(){
    bgGeo = window.BackgroundGeolocation;
        //This callback will be executed every time a geolocation is recorded in the background.
        var callbackFn = function(location) {
            var coords = location.coords;
            var lat    = coords.latitude;
            var lng    = coords.longitude;
            console.log('- Location: ', JSON.stringify(location));        
        };

        // This callback will be executed if a location-error occurs.  Eg: this will be called if user disables location-services.
        var failureFn = function(errorCode) {
            console.warn('- BackgroundGeoLocation error: ', errorCode);
        }

        // Listen to location events & errors.
        bgGeo.on('location', callbackFn, failureFn);
        // Fired whenever state changes from moving->stationary or vice-versa.
        bgGeo.on('motionchange', function(isMoving) {
          console.log('- onMotionChange: ', isMoving);
      });
        // Fired whenever a geofence transition occurs.
        bgGeo.on('geofence', function(geofence) {
          console.log('- onGeofence: ', geofence.identifier, geofence.location);
      });
        // Fired whenever an HTTP response is received from your server.
        bgGeo.on('http', function(response) {
          console.log('http success: ', response.responseText);
      }, function(response) {
          console.log('http failure: ', response.status);
      });

         /*$$('.btnStop').on('click',function(){
            bgGeo.stop();
        });*/

         bgGeo.ready({
                    reset:true,
                    desiredAccuracy: 0,
                    distanceFilter: 1,
                    stationaryRadius: 25,
                    activityRecognitionInterval: 0,
                    stopTimeout: 5,
                    debug: true,
                    logLevel: bgGeo.LOG_LEVEL_VERBOSE,

                    stopOnTerminate: false,
                    startOnBoot: true,
                    url: "http://xxx.com/xxx/xxx.php",
                    method: "POST",
                    autoSync: true,
                    maxDaysToPersist: 3,
                    headers: {  
                        "X-FOO": "bar",
                        asd : "asd"
                    },
                    params: {   
                        USERID : "xxx",
                        case : "xxx"
                    }
                }, function(state) {
                    
                   
                });


        

        $$('.btnMasuk').on('click', function () {
            myApp.loginScreen.close('#my-login-screen');
            mainView.router.navigate("/login/");
        });

        

        $$(document).on('page:init', '.page[data-name="login"]', function (page) {
            $$('.login-button').on('click',function(){   
               

               
                bgGeo.start();
                mainView.router.navigate("/home/");
            });
        });


        $$(document).on('page:init', '.page[data-name="home"]', function (page) {
            $$('.logOut').on('click',function(){
                myApp.dialog.confirm("Logout ?",function(){
                    bgGeo.stop();
                });
            });

        });

        

    }
     document.addEventListener("deviceready",onDeviceReady,false);

function cobaStop(){
            bgGeo.stop();
            myApp.dialog.alert("stopped");
        }

and still cant be stopped. whats wrong @christocracy

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

@christocracy sometimes stop sometimes not stop. i think it can be stopped after ready call the start again, or restart the tracking. i see the on the top of the screen white, and then gone. after that i hear sound like start tracking. after the plugin restart, then i click stop button. it can be stopped perfectly.
but, if i killed the app, and open the app and immediately click stopped, it will stopped, but another comes again (the tracking still running)

how to fix this ?

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

oh i think because the reset:true @christocracy

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

@christocracy i see the docs you wrote is

// 1.  Listen to events
bgGeo.on('location', onLocation, onLocationFailure);
bgGeo.on('motionchange', onMotionChange);
bgGeo.on('providerchange', onProviderChange);

// 2. Execute #ready method:  
bgGeo.ready({  
  desiredAccuracy: 0,   // <-- Config params
  distanceFilter: 50
}, function(state) {    // <-- Current state provided to #configure callback
  // 3.  Start tracking
  console.log('BackgroundGeolocation is configured and ready to use');
  if (!state.enabled) {
    bgGeo.start(function() {
      console.log('- BackgroundGeolocation tracking started');
    });
  }
});
// NOTE:  Do NOT execute any API methods until the callback to #configure
// method above executes!
// For example, do not do this here:
// bgGeo.getCurrentPosition()   // <-- NO!
// bgGeo.start();               // <-- NO!

so will this be problem if i usethis

cycleTimer = setInterval(function () {
    navigator.geolocation.getCurrentPosition(function(position) {
        latGlobal = position.coords.latitude;
        lngGlobal = position.coords.longitude;
        uluru = {lat: latGlobal, lng: lngGlobal};

        console.log(latGlobal+'-'+lngGlobal)
    }, function() {
        handleLocationError(true, infoWindow, map.getCenter());
    },{ enableHighAccuracy:true});

}, 5000);

sorry navigator will change use your plugin, i have not changed yet :(

@christocracy
Copy link
Member

Yes, it will be a problem. Never attempt to use #setInterval in the background.

@christocracy
Copy link
Member

Add a setTimeout to your bgGeo.stop()

setTimeout(function() {
  bgGeo.stop();
}, 1000);

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

oh ok. i want to use latitude and long when someone click button transaction. so in that listener i call bgGeo.getcurrentposition right ? so it will not be a problem?

and still use my config, only delete reset:true. why when first boot bgGeo.start run, i hear "beep" sound, and i try to kill the app with driving, why the tracking not runnng ? but if im not killed the app it will running. if the background already running, and i killed the app, there is no problem with the background.

@christocracy
Copy link
Member

You need to provide logs.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

use set timeout for prevent the bgGeo.stop before ready ?
what is the best way to get current position every 10seconds if im on the foreground chris?

@christocracy
Copy link
Member

christocracy commented Aug 20, 2018

use set timeout for prevent the bgGeo.stop before ready ?

In your logout action.

function cobaStop(){
            setTimeout(function() {
                bgGeo.stop();
                myApp.dialog.alert("stopped");
            }, 1000);
        }

what is the best way to get current position every 10seconds if im on the foreground chris?

You can use #watchPosition in the foreground. BE SURE TO #stopWatchPosition when app goes to background or location-services will NEVER turn off and you will kill the battery in about 2 hours.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

so i call the watchposition on my deviceready right ?
how to stopwatchposition if im killed/on thebackground app

@christocracy
Copy link
Member

so i call the watchposition on my deviceready right ?

You do not use ANY BackgroundGeolocation method which requests location until the callback to #ready fires.

how to stopwatchposition if im killed/on thebackground app

The plugin automatically #stopWatchPosition when terminated.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

oh get it. then i call watchposition on login click with bgGeo.start right ?

if i add listener for background to stopwatchposition, so when resume it must be bgGeo.watchposition again?

@christocracy
Copy link
Member

bgGeo.start(function() {
  // in the callback to #start
  bgGeo.watchPostiion(...)
});

so when resume it must be bgGeo.watchposition again?

Yes.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018

ok Chris, i think i get it how thenplugin works. i will try it tommorrow then. thankyou for helping me, you made my day Chris. and i will make new issues i think after providing log about the problem the tracking not running when first to bootig . once again, Thankyou Chris! AWESOME PLUGIN

@christocracy
Copy link
Member

I'm closing this issue. it's too long now.

@okkypt
Copy link
Author

okkypt commented Aug 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants