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

[Android] Can not connect to wifi already connect before. #42

Open
qhu91it opened this issue Aug 18, 2020 · 1 comment
Open

[Android] Can not connect to wifi already connect before. #42

qhu91it opened this issue Aug 18, 2020 · 1 comment

Comments

@qhu91it
Copy link

qhu91it commented Aug 18, 2020

Step1: Open android wifi system setting, connect to wifi A and leaver (not forget)
Step2: Open app and connect to wifi A, function wifiManager.addNetwork(wifiConfig); alway return -1

If I forget wifi A and go to app connect then it will connect success.

If wifi A already connect before, in Android 8 and below wifiManager.getConfiguredNetworks() can return this wifi A so I can get netId to enable but in Android 10 is not return anything, Android 9 not tested because I don't have.

Any idea?

@Kamoba
Copy link

Kamoba commented Sep 25, 2021

Noticed this issue also, i just display a message to user saying "go to settings and forget it..." until a fix release.

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

2 participants