
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
capacitorjs-plugin-wifi
Advanced tools
Capacitor JS plugin that work as wrapper of WifiManager of Android
npm install capacitor-plugin-wifi
npx cap sync
checkPermission()
requestPermission()
wifiScan()
getWifiStatus()
getSupportedBands()
changeWifiStatus()
disconnect()
getCurrentNetworkConfiguration()
getDHCPInfo()
isP2PSupported()
checkPermission() => Promise<{ status: string; }>
Returns: Promise<{ status: string; }>
requestPermission() => void
wifiScan() => Promise<{ networks: ScanResult[]; error: string | undefined; }>
Returns: Promise<{ networks: ScanResult[]; error: string; }>
getWifiStatus() => Promise<{ status: boolean; }>
Returns: Promise<{ status: boolean; }>
getSupportedBands() => Promise<SupportedBands>
Returns: Promise<SupportedBands>
changeWifiStatus() => Promise<{ status: boolean; }>
Returns: Promise<{ status: boolean; }>
disconnect() => Promise<{ status: boolean; }>
Returns: Promise<{ status: boolean; }>
getCurrentNetworkConfiguration() => Promise<Wifi>
Returns: Promise<Wifi>
getDHCPInfo() => Promise<DhcpInfo>
Returns: Promise<DhcpInfo>
isP2PSupported() => Promise<{ p2p_supported: boolean; }>
Returns: Promise<{ p2p_supported: boolean; }>
Prop | Type |
---|---|
BSSID | string |
SSID | string |
capabilities | string |
centerFreq0 | number | null |
centerFreq1 | number | null |
frequency | number |
level | number |
timestamp | number |
Prop | Type |
---|---|
WiFi24 | boolean |
WiFi5 | boolean |
WiFi6 | boolean |
WiFi60 | boolean |
Prop | Type |
---|---|
ssid | string |
bssid | string |
frequency | number |
hidden | boolean |
ip_address | number |
link_speed | number |
mac_address | string |
network_id | number |
rssi | number |
current_rx_speed | number | null |
current_tx_speed | number | null |
fqdn | string | null |
passpoint_provider_friendly_name | string | null |
max_rx_speed | string | null |
max_tx_speed | string | null |
wifi_standard | number | null |
security | number | null |
mlo_links | Record<string, unknown>[] | null |
mld | string | null |
mlo_id | number | null |
associated_mlo_links | Record<string, unknown>[] | null |
Prop | Type |
---|---|
dns1 | number |
dns2 | number |
gateway | number |
ipAddress | number |
leaseDuration | number |
netmask | number |
serverAddress | number |
Construct a type with a set of properties K of type T
{
[P in K]: T;
}
Check example for more information.
FAQs
Capacitor JS plugin to scan and connect to wifi
The npm package capacitorjs-plugin-wifi receives a total of 0 weekly downloads. As such, capacitorjs-plugin-wifi popularity was classified as not popular.
We found that capacitorjs-plugin-wifi 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 researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.