ThanosFisherman / WifiUtils

Easily Connect to WiFi Networks
Apache License 2.0
739 stars 188 forks source link

Android 7.0 Connectivity issue #27

Open MujeeSalpo opened 5 years ago

MujeeSalpo commented 5 years ago

Hi. When I use a device with android 7.1.1 it connects successfully but with a device having an OS version 7.0 it does not connect.. Any advice regarding this please. Location service is enabled.

aMujeeb commented 5 years ago

Hi, Any updates about connecting to hidden wifi networks also ?

JeetSA commented 4 years ago

Hello @MujeeSalpo ,

I am facing the same issue. Can you please let me if you find any solution for the same?

Thanks.

aMujeeb commented 4 years ago

Hi @JeetSA , Connecting to a 'hidden' wifi was an issue we could not overcome. Instead we made the wifi visible by hardware level. Connection was made successfully.

JeetSA commented 4 years ago

@aMujeeb

Thanks for replying.

The wifi which we are using is visible to all. Still, I am not able to connect to the wifi. getScanResults function is returning 0 values while scanning and I am getting "DID_NOT_FIND_NETWORK_BY_SCANNING" error. Location service is enabled.

Can you please help me with that?

lujnan commented 4 years ago

@JeetSA [WifiManager#getScanResults() returns null if GPS is turned off] (https://issuetracker.google.com/issues/37060483#c18) on Android 6.0 or Android 7.0 system.