
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
cordova-plugin-locationbgservice
Advanced tools
Plugin for get the current user location information and then send to server or a particular API based on fixed time interval which will define in config at the time of service call.
The plugin can be installed via [Cordova-CLI][CLI] and is publicly available on [NPM][npm].
Execute from the projects root folder:
$ cordova plugin add cordova-plugin-locationbgservice
Or install a specific version:
$ cordova plugin add cordova-plugin-locationbgservice@VERSION
Start the location tracking service
let options = {
clientId: "", // Can be a userId/clientId/uniqueId for identity.
url: '', // API url which is recevied the location.
interval: 5000 // Fixed time interval
}
window.LocationBGService.start(function (reponse) {
console.log(reponse);
}, function (error) {
console.log(error);
}, options);
Stop the service
window.LocationBGService.stop();
Check the status of the service
window.LocationBGService.isRunning(function(response){
console.log(response);
});
API can receive the object like an example
{
"clientId": "1234",
"provider": "network",
"bearing": "0.0",
"latitude": "28.6613927",
"accuracy": "22.209999084472656",
"speed": "0.0",
"longitude": "77.3849333"
}
Report issues to mail <mailto:admin@dkrock.com>
FAQs
Location tracker background service
The npm package cordova-plugin-locationbgservice receives a total of 7 weekly downloads. As such, cordova-plugin-locationbgservice popularity was classified as not popular.
We found that cordova-plugin-locationbgservice demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.