mauron85/cordova-plugin-background-geolocation

location details not updating Server

srini18vasan opened this issue · 1 comments

Your Environment

  • Plugin version: 3.1.0
  • Platform: iOS or Android
  • OS version: 10
  • Device manufacturer and model: Redmi 8
  • Running in Simulator:
  • Cordova version (cordova -v): 10.0.0
  • Cordova platform version (cordova platform ls): Installed platforms:
    android 9.0.0
    Available platforms:
    browser ^6.0.0
    electron ^1.0.0
    windows ^7.0.0
  • Plugin configuration options: BackgroundGeolocation.configure({
    locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
    //desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
    desiredAccuracy: 50,
    notificationTitle: 'Background Tracking',
    notificationText: 'enabled',
    stationaryRadius: 50,
    distanceFilter: 50,
    debug: false,
    interval: 10000,
    fastestInterval: 5000,
    activitiesInterval: 10000,
    url:'http://192.168.43.137:3000/locations',
    syncUrl: 'http://192.168.43.137:3000/sync',
    maxLocations:25,
    syncThreshold:10,
    httpHeaders: { 'X-FOO': 'bar' },
    postTemplate:null,
    pauseLocationUpdates:false,
    saveBatteryOnBackground:false
    });
  • Link to your project:

Context

I am new in this development, start function not working properly some times it is trigger locations and not sync to server it is stored localdb only i don't know to how to post location details to the server

Expected Behavior

need to update locations 10 or 20 seconds once

Actual Behavior

working but values not post the my local node.js server stored only local db,then also not working sometimes

Possible Fix

Steps to Reproduce

Context

Debug logs

@srini18vasan Any update?