weplenish / flutter_wifi_connect

A flutter plugin to allow simple connection to wifi devices with the provided ssid or ssid prefix.
BSD 3-Clause "New" or "Revised" License
10 stars 25 forks source link

compilation error #11

Open kvedala opened 3 years ago

kvedala commented 3 years ago

Compilation error observed:

e: C:\Users\...\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_wifi_connect-0.0.7\android\src\main\kotlin\com\weplenish\flutter_wifi_connect\FlutterWifiConnectPlugin.kt: (317, 53): Smart cast to 'ConnectivityManager.NetworkCallback' is impossible, because 'this.networkCallback' is a mutable property that could have been changed by this time
e: C:\Users\...\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_wifi_connect-0.0.7\android\src\main\kotlin\com\weplenish\flutter_wifi_connect\FlutterWifiConnectPlugin.kt: (341, 49): Smart cast to '<no name provided>' is impossible, because 'networkCallback' is a mutable property that could have been changed by this time
e: C:\Users\...\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_wifi_connect-0.0.7\android\src\main\kotlin\com\weplenish\flutter_wifi_connect\FlutterWifiConnectPlugin.kt: (350, 51): Smart cast to 'ConnectivityManager.NetworkCallback' is impossible, because 'this.networkCallback' is a mutable property that could have been changed by this time
Cobolt77 commented 3 years ago

Same error on my side :(

Cobolt77 commented 3 years ago

https://github.com/weplenish/flutter_wifi_connect/issues/7

giano574 commented 3 years ago

https://github.com/weplenish/flutter_wifi_connect/pull/10 @vipero07 When will a version with this fix be released?

Gcc-18 commented 3 years ago

I have the same error

phamdaiyb98 commented 3 years ago

I have the same error too.