Not working on my android phone
Opened this issue · 0 comments
AlexDiMaria commented
I've tried to use this library for a prototype app for work. I test it on one Huawaei and two Samsung with Android 9, Android 10 and Android 12. It's working only on Android 9, and i don't understand if there's anothe issue on GitHub or i've made mistakes when i writing code.
There's what i do
Future<void> _onConnectPressed() async {
final ssid = _ssidController.text;
final password = _passwordController.text;
setState(() => _isSucceed = false);
print(ssid + " " + password);
await WifiConnector.connectToWifi(ssid: ssid, password: password);
}
The app is working with two Text Field so i can take the parameter for the network from the user and i can test it whenever i am. When the user insert the data, press a button to call the function that i've written before.
Can you help me?