Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Becareful, some commands as no effect on iOS because Apple don't let us to do wh
## WiFi connections
| Description | Android | iOS |
| :---------------------------------------------------- | :----------------: | :------------------: |
| Enabling / Disabling WiFi module | :white_check_mark: | :x: |
| Enabling / Disabling WiFi module | :warning:(5) | :x: |
| Getting WiFi status | :white_check_mark: | :x: |
| Scanning for networks, with "already-associated" flag | :white_check_mark: | :x: |
| Connecting / Disconnecting on a network in WPA / WEP | :white_check_mark: | :white_check_mark:(1) |
| Registering / Unregistering a WiFi network | :white_check_mark: | :warning:(2) |
| Connecting / Disconnecting on a network in WPA / WEP | :white_check_mark:(6) | :white_check_mark:(1) |
| Registering / Unregistering a WiFi network | :warning:(7) | :warning:(2) |
| Getting informations like : | :white_check_mark: | :warning:(3) |
| - SSID | :white_check_mark: | :white_check_mark: |
| - BSSID | :white_check_mark: | :x: |
Expand All @@ -31,6 +31,12 @@ Becareful, some commands as no effect on iOS because Apple don't let us to do wh

:question:(4) : I think there is a way to get the IP address but for now, this is not implemented..

:warning:(5): On Android SDK >= 29, this is deprecated and will always fail (except DO, PO and system apps). [[docs](https://developer.android.com/reference/android/net/wifi/WifiManager#setWifiEnabled(boolean))]

:white_check_mark:(6): On Android SDK >= 29, WEP security is deprecated and will always fail, also the network will be disconnected when the app is closed. [[docs](https://developer.android.com/reference/android/net/ConnectivityManager?hl=en#requestNetwork(android.net.NetworkRequest,%20android.net.ConnectivityManager.NetworkCallback))]. If permanent network is required(Check :warning:(7)), there is a way but that network will not be controlled by the app, it will be as if user is adding the network manually, not supported as of now, open issue if you want this feature.

:warning:(7) On Android SDK >=29, this is deprecated. Although there could be ways for user to be sent to Settings App for registering only(pre-filled) but not supported as of now.

## Access Point
| Description | Android | iOS |
| :------------------------------------------------------------------------------------ | :----------------: | :------------------: |
Expand Down
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:4.1.0'
}
}

Expand All @@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 28
compileSdkVersion 30

defaultConfig {
minSdkVersion 16
Expand Down
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</manifest>
Loading