transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
660 stars 276 forks source link

bgGeo.stop not working after terminate the app #751

Closed okkypt closed 6 years ago

okkypt commented 6 years ago

Your Environment

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

  1. 
    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);
});

```javascript
bgGeo.start(); //start when login

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

Context

Debug logs

okkypt commented 6 years ago

i dont call any plugin too in this case

christocracy commented 6 years ago

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

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

yes, it working perfectly if im not killed the app after background geolocation running. i had problem when bgGeo already tracking on the background, i hear "beep" which post to my server. after that i killed my app. it perfectly too, background geo still running and i hear sound beep. but when i reopen my app that i already killed, when i hit logout, and already logout. the bgGeo still running anytime chris.

On Thu, Aug 16, 2018 at 8:49 PM Chris Scott notifications@github.com wrote:

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

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/751#issuecomment-413551917, or mute the thread https://github.com/notifications/unsubscribe-auth/AkuCi1IVXG2BXm0Swdpq_49jlZ2sQig2ks5uRXhSgaJpZM4V_Kx- .

christocracy commented 6 years ago

Are you watching $ adb logcat -s TSLocationManager?

See Debugging Wiki

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

okkypt commented 6 years ago

no chris,i dont know how to use it. can you giveme the link how to use it? im not using emulator, im using on the real device.

or maybe because before i stop the bgGeo, i call bgGeo.start() again ? will it be problem chris ?

On Thu, Aug 16, 2018 at 9:25 PM Chris Scott notifications@github.com wrote:

Are you watching $ adb logcat -s TSLocationManager?

See Debugging Wiki https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debugging

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/751#issuecomment-413563656, or mute the thread https://github.com/notifications/unsubscribe-auth/AkuCiwJsGnT3zU5AzLLgZezdm-ToJKFuks5uRYDfgaJpZM4V_Kx- .

christocracy commented 6 years ago

Android Developer Bridge

okkypt commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

okkypt commented 6 years ago

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 commented 6 years ago

Are you checking the JavaScript console for errors?

okkypt commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

image

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

okkypt commented 6 years ago

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 commented 6 years ago
// 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 commented 6 years ago

Do you understand what this does:

stopOnTerminate: false
okkypt commented 6 years ago

i think stopterminate false to still tracking when the user kill/terminate the app right? or i am wrong ?

i want to stop tracking after i killed the app and reopen the app and klik logout chris. is anything wrong with my code?

On Sun, Aug 19, 2018, 7:41 PM Chris Scott notifications@github.com wrote:

Do you understand what this does:

stopOnTerminate: false

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/751#issuecomment-414125167, or mute the thread https://github.com/notifications/unsubscribe-auth/AkuCi-c4yCBJhiS9kjtPRi-vzo83-_F0ks5uSVzkgaJpZM4V_Kx- .

christocracy commented 6 years ago

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

Sorry, this statement is correct.

okkypt commented 6 years ago

i want the tracking still running on the background when i terminate or kill the app, so i use stopontetminate false, so when i kill the app the tracking still running on the background like i wanted. but after i re-open the app and then i click logout button the tracking still running and dont want to stop, what must i do chris?

On Sun, Aug 19, 2018, 9:31 PM Chris Scott notifications@github.com wrote:

i think stopterminate false to still tracking when the user kill/terminate the app right? or i am wrong ?

You are wrong.

think about it carefully. read it to your self: "Do I want the plugin to stop when app terminates?" true or false?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/transistorsoft/cordova-background-geolocation-lt/issues/751#issuecomment-414131625, or mute the thread https://github.com/notifications/unsubscribe-auth/AkuCiyIeYRLEwndspqgkyQ1CLiC31f29ks5uSXbBgaJpZM4V_Kx- .

christocracy commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago
 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 commented 6 years ago

// 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 commented 6 years ago
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 commented 6 years ago

try it again. Provide logs.

okkypt commented 6 years ago
08-19 23:12:43.778  6789  6903 I TSLocationManager:
08-19 23:12:43.778  6789  6903 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:12:43.778  6789  6903 I TSLocationManager: Ôòæ License Validation Failure
08-19 23:12:43.778  6789  6903 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:12:43.778  6789  6903 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-19 23:12:43.970  6789  6903 D TSLocationManager: $ addLocationListener()
08-19 23:12:43.974  6789  6903 D TSLocationManager: $ addMotionChangeListener()
08-19 23:12:43.976  6789  6903 D TSLocationManager: $ addGeofenceListener()
08-19 23:12:43.978  6789  6903 D TSLocationManager: $ addHttpListener()
08-19 23:12:43.982  6789  6903 D TSLocationManager: $ ready()
08-19 23:12:53.658  6789  6903 D TSLocationManager: $ start()
08-19 23:12:53.756  6789  6789 I TSLocationManager: - onPause
08-19 23:12:55.321  6789  7083 I TSLocationManager: - Enable: false  true, trackingMode: 1
08-19 23:12:55.357  6789  6789 I TSLocationManager: - onResume
08-19 23:12:57.907  6789  6789 I TSLocationManager: - onPause
08-19 23:14:11.758  6789  6789 I TSLocationManager: CDVBackgroundGeolocation#onDestoy
08-19 23:14:14.825  7471  7537 I TSLocationManager:
08-19 23:14:14.825  7471  7537 I TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:14:14.825  7471  7537 I TSLocationManager: Ôòæ License Validation Failure
08-19 23:14:14.825  7471  7537 I TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:14:14.825  7471  7537 I TSLocationManager: ÔòƒÔöÇ BackgroundGeolocation is running in evaluation mode.
08-19 23:14:14.984  7471  7537 D TSLocationManager: $ addLocationListener()
08-19 23:14:14.988  7471  7537 D TSLocationManager: $ addMotionChangeListener()
08-19 23:14:14.991  7471  7537 D TSLocationManager: $ addGeofenceListener()
08-19 23:14:14.993  7471  7537 D TSLocationManager: $ addHttpListener()
08-19 23:14:14.996  7471  7537 D TSLocationManager: $ ready()
08-19 23:14:15.064  7471  7544 I TSLocationManager: - Enable: true  true, trackingMode: 1
08-19 23:14:18.996  7471  7537 D TSLocationManager: $ stop()

and the tracking still running it wont stop @christocracy

christocracy commented 6 years ago

What you're attempting to do is exactly what my SampleApp toggle-button on top-right of toolbar does.

okkypt commented 6 years ago

what i do is correct right ? why the tracking still running on the background ?

christocracy commented 6 years ago

When I execute #stop, I see following logs:

08-19 12:23:42.067 17645 17747 D TSLocationManager: $ stop()
08-19 12:23:42.071 17645 17747 D TSLocationManager: [c.t.l.adapter.TSConfig c] ℹ️   Persist config
08-19 12:23:42.095 17645 17645 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy]
08-19 12:23:42.095 17645 17645 D TSLocationManager: ╔═════════════════════════════════════════════
08-19 12:23:42.095 17645 17645 D TSLocationManager: ║ BackgroundGeolocationService destroyed
08-19 12:23:42.095 17645 17645 D TSLocationManager: ╠═════════════════════════════════════════════
08-19 12:23:42.115 17645 17645 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 12:23:42.115 17645 17645 D TSLocationManager:   🔴  Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@e498718
08-19 12:23:42.135 17645 17645 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 12:23:42.135 17645 17645 D TSLocationManager:   🔴  Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@1080571
08-19 12:23:42.148 17645 17645 I TSLocationManager: [c.t.l.ActivityRecognitionService b]
08-19 12:23:42.148 17645 17645 I TSLocationManager:   🔴  Stop activity updates
08-19 12:23:42.160 17645 17645 D TSLocationManager: [c.t.l.g.TSGeofenceManager b]
08-19 12:23:42.160 17645 17645 D TSLocationManager:   🔴  Stop monitoring geofences
08-19 12:23:42.173 17645 17645 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-19 12:23:42.173 17645 17645 I TSLocationManager:   🔴  Stop heartbeat

Show me unfiltered $adb logcat

okkypt commented 6 years ago
08-19 23:27:32.455 12026 12094 D TSLocationManager: $ stop()
08-19 23:27:32.502  2371  4686 I GeofencerStateMachine: removeGeofences: removeRequest=RemoveGeofencingRequest[REMOVE_BY_PENDING_INTENT pendingIntent=PendingIntent[creatorPackage=io.cordova.hellocordova], packageName=null]
08-19 23:27:32.577 10851 10890 D [ACT]:ao: processing priority = HIGH

so many adb logcat. lucky i can found the stop() @christocracy .

christocracy commented 6 years ago

add configuration option to #ready: logLevel: bgGeo.LOG_LEVEL_VERBOSE

Show me FILTERED log again:

$ adb logcat -s TSLocationManager
okkypt commented 6 years ago
08-19 23:41:55.536 15789 15866 D TSLocationManager: $ stop()
08-19 23:41:55.540 15789 15866 D TSLocationManager: [c.t.l.adapter.TSConfig c] Ôä╣´©Å   Persist config
08-19 23:41:55.565 15789 15789 D TSLocationManager: [c.t.l.BackgroundGeolocationService onDestroy]
08-19 23:41:55.565 15789 15789 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:41:55.565 15789 15789 D TSLocationManager: Ôòæ BackgroundGeolocationService destroyed
08-19 23:41:55.565 15789 15789 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:41:55.584 15789 15789 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 23:41:55.584 15789 15789 D TSLocationManager:   ­ƒö┤  Unregister PowerSaveChangeReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$1@1a6a92e
08-19 23:41:55.603 15789 15789 D TSLocationManager: [c.t.l.BackgroundGeolocationService r]
08-19 23:41:55.603 15789 15789 D TSLocationManager:   ­ƒö┤  Unregister ConnectivityReceiver: com.transistorsoft.locationmanager.BackgroundGeolocationService$2@3163ccf
08-19 23:41:55.620 15789 15789 I TSLocationManager: [c.t.l.ActivityRecognitionService b]
08-19 23:41:55.620 15789 15789 I TSLocationManager:   ­ƒö┤  Stop activity updates
08-19 23:41:55.636 15789 15789 D TSLocationManager: [c.t.l.g.TSGeofenceManager b]
08-19 23:41:55.636 15789 15789 D TSLocationManager:   ­ƒö┤  Stop monitoring geofences
08-19 23:41:55.658 15789 15789 I TSLocationManager: [c.t.l.BackgroundGeolocationService k]
08-19 23:41:55.658 15789 15789 I TSLocationManager:   ­ƒö┤  Stop heartbeat
08-19 23:41:56.538 15789 15789 I TSLocationManager: - onPause
08-19 23:42:02.233 15789 15906 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:42:02.233 15789 15906 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.233 15789 15906 D TSLocationManager: Ôòæ LocationService: location
08-19 23:42:02.233 15789 15906 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.233 15789 15906 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334744,112.779874 acc=10 et=+13h35m38s975ms alt=23.0 vel=0.25 bear=160.0 {Bundle[mParcelledData.dataSize=52]}], age: 51ms, time: 1534696922000
08-19 23:42:02.256 15789 15906 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:42:02.256 15789 15906 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.256 15789 15906 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:42:02.256 15789 15906 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.274 15789 15906 D TSLocationManager: [c.t.l.l.TSLocationManager a] 10.0
08-19 23:42:02.320 15789 15858 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:42:02.320 15789 15858 I TSLocationManager:     INSERT: 8c8b2c91-dfe7-426b-9db1-22d67edcc6b7
08-19 23:42:02.345 15789 15858 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:42:02.345 15789 15858 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.345 15789 15858 D TSLocationManager: Ôòæ HTTP Service
08-19 23:42:02.345 15789 15858 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:02.376 15789 15875 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:42:02.376 15789 15875 D TSLocationManager:     Locked 1 records
08-19 23:42:02.391 15789 15875 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:42:02.391 15789 15875 I TSLocationManager:   ­ƒöÁ  HTTP POST: 8c8b2c91-dfe7-426b-9db1-22d67edcc6b7
08-19 23:42:02.447 15789 15862 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:42:02.447 15789 15862 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:42:02.476 15789 15862 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:42:02.476 15789 15862 D TSLocationManager:     DESTROY: 8c8b2c91-dfe7-426b-9db1-22d67edcc6b7
08-19 23:42:12.364 15789 15924 D TSLocationManager: [c.t.l.LocationService onLocation]
08-19 23:42:12.364 15789 15924 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.364 15789 15924 D TSLocationManager: Ôòæ LocationService: location
08-19 23:42:12.364 15789 15924 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.364 15789 15924 D TSLocationManager: ÔòƒÔöÇ ­ƒôì  Location[fused -7.334727,112.779859 acc=10 et=+13h35m49s119ms alt=27.0 vel=0.0 {Bundle[mParcelledData.dataSize=52]}], age: 38ms, time: 1534696932000
08-19 23:42:12.407 15789 15924 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult]
08-19 23:42:12.407 15789 15924 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.407 15789 15924 D TSLocationManager: Ôòæ Process LocationResult
08-19 23:42:12.407 15789 15924 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.417 15789 15924 D TSLocationManager: [c.t.l.l.TSLocationManager a] 10.0
08-19 23:42:12.453 15789 15875 I TSLocationManager: [c.t.locationmanager.data.a.c persist]
08-19 23:42:12.453 15789 15875 I TSLocationManager:     INSERT: 7e7a8136-f2b7-4a07-96be-56702f1dab45
08-19 23:42:12.475 15789 15875 D TSLocationManager: [c.t.l.http.HttpService flush]
08-19 23:42:12.475 15789 15875 D TSLocationManager: ÔòöÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.475 15789 15875 D TSLocationManager: Ôòæ HTTP Service
08-19 23:42:12.475 15789 15875 D TSLocationManager: ÔòáÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉ
08-19 23:42:12.497 15789 15858 D TSLocationManager: [c.t.locationmanager.data.a.c first]
08-19 23:42:12.497 15789 15858 D TSLocationManager:     Locked 1 records
08-19 23:42:12.541 15789 15858 I TSLocationManager: [c.t.l.http.HttpService a]
08-19 23:42:12.541 15789 15858 I TSLocationManager:   ­ƒöÁ  HTTP POST: 7e7a8136-f2b7-4a07-96be-56702f1dab45
08-19 23:42:12.618 15789 15862 I TSLocationManager: [c.t.l.http.HttpService$a onResponse]
08-19 23:42:12.618 15789 15862 I TSLocationManager:   ­ƒöÁ  Response: 200
08-19 23:42:12.646 15789 15862 D TSLocationManager: [c.t.locationmanager.data.a.c destroy]
08-19 23:42:12.646 15789 15862 D TSLocationManager:     DESTROY: 7e7a8136-f2b7-4a07-96be-56702f1dab45

Here is the log @christocracy still running the tracking..

christocracy commented 6 years ago

Are you sure you don't have another app running the plugin? Eg: the SampleApp or some other test app you created?

okkypt commented 6 years ago

yes im sure @christocracy , i can only install one debug build cordova app.

here is my all code that i build in the app

    // 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",onDeviceReady,false);

    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();
        });

         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 : "SUMBER",
                        case : "HISTORY_PERJALANAN"
                    }
                }, 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();
                });
            });

        });

    }
christocracy commented 6 years ago

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

okkypt commented 6 years ago

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

okkypt commented 6 years ago

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 commented 6 years ago

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

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

okkypt commented 6 years ago

image image

Here is the javascript code @christocracy

christocracy commented 6 years ago

enabled: false.

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

Show me the logs.

okkypt commented 6 years ago

in config ready ?

christocracy commented 6 years ago

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

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

okkypt commented 6 years ago
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 commented 6 years ago

Reboot your device and try again.