ThanosFisherman / WifiUtils

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

I can’t connect to the internet #105

Closed Xujun770366270 closed 3 years ago

Xujun770366270 commented 3 years ago

I use wifiUtils to switch wifi and I can’t connect to the internet, test you demo

ThanosFisherman commented 3 years ago

For Android versions 10 and newer: WiFiUtils is currently using the Network request API (IoT API) for connecting to wifi networks which scopes the internet connectivity only to the app that requested it. There are plans to support WiFI Suggestion API in the future which overcomes this issue. For further info read the official docs here and take a look at the discussion thread here