Open francesco98 opened 1 month ago
Hello,
I think that there is a problem at this line of the removeWifiNetwork Android implementation. https://github.com/flutternetwork/WiFiFlutter/blob/8457ae740208e258108a1206186e8648cb1286c0/packages/wifi_iot/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L1230 https://github.com/flutternetwork/WiFiFlutter/blob/8457ae740208e258108a1206186e8648cb1286c0/packages/wifi_iot/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L1216
It seems that there are 2 checks:
Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
Build.VERSION.SDK_INT >= Build.VERSION_CODES.R
but what if the build version is Q? I'm indeed having issues only on Android 10 devices.
Hello,
I think that there is a problem at this line of the removeWifiNetwork Android implementation. https://github.com/flutternetwork/WiFiFlutter/blob/8457ae740208e258108a1206186e8648cb1286c0/packages/wifi_iot/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L1230 https://github.com/flutternetwork/WiFiFlutter/blob/8457ae740208e258108a1206186e8648cb1286c0/packages/wifi_iot/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L1216
It seems that there are 2 checks:
Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
Build.VERSION.SDK_INT >= Build.VERSION_CODES.R
but what if the build version is Q? I'm indeed having issues only on Android 10 devices.