README
Track-Device-Location
The TrackLocation Plugin has been used for track a device location and writing into a file.It will Automatically start when the device is restarted.
Requirements for plugin
*plugin configuration. *Android service *android BroadcastReceiver for bootcomplete process *some location access related permissions *javascript interface for native side code.
Purpose
When the device is restart the service will automatically running in background. When open the Application,it will checking the service is running or not.if not running,it will start a service. It will track the device location and store the details into a device as text file.
Sample Example
Sample example for alert message in index.html sending the callback from plugin.
try {
window.trackuserlocation(function(e) {
alert(e);
}, function(err) {
alert(err);
});
} catch(e) {
alert(e.message);
}
It will show alert message via callback.