
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
cordova-plugin-bluetooth-status
Advanced tools
Cordova Bluetooth status is a Cordova plugin allowing to check for Bluetooth adapter status. The plugin currently offers the following features:
cordova plugin add cordova-plugin-bluetooth-status
Initialize the plugin with the cordova.plugins.BluetoothStatus.initPlugin() method. Otherwise, the BT adapter state may not be correctly populated until the next time adapter is switched off/on.
This plugin exports its methods and properties on cordova.plugins.BluetoothStatus.
Variable storing the presence of a Bluetooth device
Variable storing the presence of a Bluetooth LE device
Variable storing the state of the Bluetooth adapter (enabled or not)
Variable storing the authorization to use the Bluetooth adapter on iOS
Initialize the plugin and populate the initial state of the Bluetooth adapter
cordova.plugins.BluetoothStatus.initPlugin();
Activate the Bluetooth without prompting the user:
cordova.plugins.BluetoothStatus.enableBT();
Prompt the user to activate the Bluetooth:
cordova.plugins.BluetoothStatus.promptForBT();
These events are fired on the window object.
This event is triggered when the Bluetooth adapter gets enabled.
window.addEventListener('BluetoothStatus.enabled', function() {
console.log('Bluetooth has been enabled');
});
This event is triggered when the Bluetooth adapter gets disabled.
window.addEventListener('BluetoothStatus.disabled', function() {
console.log('Bluetooth has been disabled');
});
FAQs
Cordova Bluetooth status plugin
The npm package cordova-plugin-bluetooth-status receives a total of 49 weekly downloads. As such, cordova-plugin-bluetooth-status popularity was classified as not popular.
We found that cordova-plugin-bluetooth-status 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.