Ionic-3 Background location not update on server while app in background mode

startTrackingTwo() {
const config: BackgroundGeolocationConfig = {
stationaryRadius: 50,
distanceFilter: 50,
notificationTitle: ‘Background tracking’,
notificationText: ‘enabled’,
debug: true,
interval: 10000,
fastestInterval: 5000,
activitiesInterval: 10000,
syncUrl: ‘http://192.168.1.99:3000/sync’,
url: ‘http://192.168.1.99:3000/locations’,
httpHeaders: {
‘X-FOO’: ‘bar’
},
// customize post properties
postTemplate: {
lat: ‘@latitude’,
lon: ‘@longitude’,
foo: ‘bar’ // you can also add your own properties
}
};

    this.backgroundGeolocation.checkStatus().then((status) => {
        console.log(status);
        console.log('status=' + status);
        this.backgroundGeolocation.start();

    });

    this.backgroundGeolocation.configure(config).then(() => {
        this.backgroundGeolocation.start();
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.location).subscribe((location: BackgroundGeolocationResponse) => {

        console.log(location);
        console.log('location=' + location);
    });


    this.backgroundGeolocation.on(BackgroundGeolocationEvents.error).subscribe((status: BackgroundGeolocationResponse) => {
        console.log('error=' + status);
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.authorization).subscribe((status) => {
        console.log('authorization=' + status);
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.abort_requested).subscribe((status) => {
        console.log('abort_requested=' + status);
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.http_authorization).subscribe((status) => {
        console.log('http_authorization=' + status);
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.background).subscribe((status: BackgroundGeolocationResponse) => {
        console.log('background=' + status);
    });

    this.backgroundGeolocation.on(BackgroundGeolocationEvents.foreground).subscribe((status: BackgroundGeolocationResponse) => {
        console.log('background=' + status);

        this.backgroundGeolocation.getLocations().then((locations) => {
            console.log(locations);
            console.log('getLocations=' + locations);
        });
    });




}