Skip to content
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

connect is always returning false #272

Open
shyambandla opened this issue Apr 19, 2022 · 4 comments
Open

connect is always returning false #272

shyambandla opened this issue Apr 19, 2022 · 4 comments

Comments

@shyambandla
Copy link

`enableWifi()
async {
WiFiForIoTPlugin.forceWifiUsage(true);
await WiFiForIoTPlugin.connect('praneet',password: 'arshu581',security: NetworkSecurity.WPA ).then((value) {
}).catchError((error){
print('ERROR: $error');
});

}`

@shyambandla
Copy link
Author

connect method always retuning false

@daadu
Copy link
Member

daadu commented Apr 19, 2022

Please give more info like - platform, device, verison, etc.

Also encourage you to go through README (if you havent already) of wifi_iot.

@shyambandla
Copy link
Author

yes i went through documentation.

device : samsung galaxy m21
api level: 30
version: 11

target sdk 31
compiled sdk 31

@carlos00027
Copy link

motorola e6s with android 9 also fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants