Skip to content

Commit

Permalink
docs: Move connectToProtectedSSIDPrefix() to iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapsssito authored Feb 27, 2020
1 parent 5d6e471 commit 932eb9b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,19 @@ Used on iOS. If YES, the network is WEP Wi-Fi; otherwise it is a WPA or WPA2 per
* `disconnectFailed`: Disconnecting from the network failed. This is done as part of the connect flow.
* `connectNetworkFailed`: Could not connect to network.

### connectToProtectedSSIDPrefix(SSIDPrefix: string, password: string, isWep: boolean): Promise
### `getCurrentWifiSSID(): Promise`

## Only iOS

The following methods work only on iOS

### `connectToSSID(ssid: string): Promise`

### `connectToSSIDPrefix(ssid: string): Promise`

### `disconnectFromSSID(ssid: string): Promise`

### `connectToProtectedSSIDPrefix(SSIDPrefix: string, password: string, isWep: boolean): Promise`

Use this function when you want to match a known SSID prefix, but don’t have a full SSID. If the system finds multiple Wi-Fi networks whose SSID string matches the given prefix, it selects the network with the greatest signal strength.

Expand All @@ -182,18 +194,6 @@ Used on iOS. If YES, the network is WEP Wi-Fi; otherwise it is a WPA or WPA2 per

* `connectNetworkFailed`: Could not connect to network.

### `getCurrentWifiSSID(): Promise`

## Only iOS

The following methods work only on iOS

### `connectToSSID(ssid: string): Promise`

### `connectToSSIDPrefix(ssid: string): Promise`

### `disconnectFromSSID(ssid: string): Promise`

## Only Android
The following methods work only on Android

Expand Down

0 comments on commit 932eb9b

Please sign in to comment.