MFS utils
Install the plugin
$ cordova plugin add https://github.com/sxagan/cordova-plugin-mfsutils.git
gpscheck.isGPSEnabled(function(result){console.log("isGPSEnabled: ",result)}, function(err){console.log("isGPSEnabled err: ",err)});
gpscheck.isNetworkEnabled(function(result){console.log("isNetworkEnabled: ",result)}, function(err){console.log("isNetworkEnabled err: ",err)});
gpscheck.getLocation(function(result){console.log("getLocation: ",result)}, function(err){console.log("getLocation err: ",err)});