Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cordova-plugin-wifi-manager
Advanced tools
Wi-Fi Manager Plugin for Apache Cordova
cordova plugin add cordova-plugin-wifi-manager
Notice
When you use this plugin for Android 10 (API level 29) or later, you can connect to the Internet only through your own (cordova) app. This is due to the specification of new Android API, WifiNetworkSpecifier.
If you want to purposely use the deprecated Android API, run the following.
cordova run android --device -- --gradleArg=-PcdvTargetSdkVersion=28
const onDeviceReady = () => {
window.wifiManager.connect(
'SAMPLE_SSID',
'SAMPLE_PASSPHRASE',
() => {
console.log('connect method was successfully called.');
},
(result) => {
console.log('connect method failed to be called.');
console.log(`code: ${result.code}, message: ${result.message}`);
}
);
};
document.addEventListener('deviceready', onDeviceReady, false);
const onDeviceReady = () => {
window.wifiManager.disconnect(
'SAMPLE_SSID',
() => {
console.log('disconnect method was successfully called.');
},
(result) => {
console.log('disconnect method failed to be called.');
consoe.log(`code: ${result.code}, message: ${result.message}`);
}
);
};
document.addEventListener('deviceready', onDeviceReady, false);
cordova-plugin-wifi-manager
is available under the MIT license. See the LICENSE file for details.
FAQs
Wi-Fi Manager Plugin for Apache Cordova
The npm package cordova-plugin-wifi-manager receives a total of 7 weekly downloads. As such, cordova-plugin-wifi-manager popularity was classified as not popular.
We found that cordova-plugin-wifi-manager 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.