-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to wifi (android) #364
Comments
Some update: the connection actually happens in Android but WiFiForIoTPlugin.getSSID() always returns . Please help ! |
Make sure you have location permission and location is enabled. |
Yes, I've got all of these in AndroidManifest.xml: |
|
I am able to connect to an available network but it does not have internet access. In the system WiFi tray it says "Connected through Bt_App ,low quality" . How to get the internet access. Also how to connect in case of API level 29 and below. I know that for iOS its not possible as Apple has many restrictions. |
This works for me. It connects to a wifi access point with no internet access:
|
I cannot access a wifi spot on Android using this code:
await WiFiForIoTPlugin.disconnect();
status = await WiFiForIoTPlugin.connect(_robotServerSsid,
password: _robotServerPassword,
joinOnce: (Platform.isIOS) ? false : true,
security: NetworkSecurity.WPA,
withInternet: false,
timeoutInSeconds: 45);
await WiFiForIoTPlugin.forceWifiUsage(true);
the Android manifest contains:
It doesn't trigger any Android system authorisation user dialog and the connection fails. Any other permission I should set ?
Could you please help ? What am I missing ?
The text was updated successfully, but these errors were encountered: