cordova-plugin-background-geolocation-example
cordova-plugin-background-geolocation-example copied to clipboard
Sending Data
Just want to ask something about data sending, i am using asp.net as server to retrieve data from
cordova-plugin-background-geolocation mobile apps. i try to use request.param to read the data but ufortunately i did'nt get the data from
postTemplate: {
lat: '@latitude',
lon: '@longitude',
act:'APOKONO',
provider: '@provider',
locationProvider: '@locationProvider',
time: '@time',
accuracy: '@accuracy',
speed: '@speed',
altitude: '@altitude',
bearing: '@bearing'
}
only retrieve data from header
httpHeaders: {
'AUTH': 'JSDFSDS77SDF8SD56S5DF86SD9F799SAD7U'
}
so can i know how the actual this plugin work to send the data to server?
Have you set the API url?