@@ -287,6 +287,18 @@ Enable this in order to force a stop() when the application terminated (e.g. on
...
@@ -287,6 +287,18 @@ Enable this in order to force a stop() when the application terminated (e.g. on
#### HTTP Features
#### HTTP Features
#####`@param {String} url`
By configuring an ```#url```, the plugin will always attempt to HTTP POST the location to your server.
#####`@param {Object} params`
Optional HTTP params sent along in HTTP request to above ```#url```.
#####`@param {Object} headers`
Optional HTTP params sent along in HTTP request to above ```#url```.
Both iOS and Android can send the Geolocation to your server simply by configuring an ```#url``` in addition to optional ```#headers``` and ```#params```. This is the preferred way to send the Geolocation to your server, rather than doing it yourself with Ajax in your javascript.
Both iOS and Android can send the Geolocation to your server simply by configuring an ```#url``` in addition to optional ```#headers``` and ```#params```. This is the preferred way to send the Geolocation to your server, rather than doing it yourself with Ajax in your javascript.