This repository was archived by the owner on Jan 3, 2025. It is now read-only.
Replies: 2 comments 1 reply
-
|
WiFiUtils is currently using the IoT API for connecting to wifi networks which limits the internet connectivity only to the app that requested it. I haven't really studied the suggestion API yet but it seems like a good alternative although it might have its limitations as well. I think it's worth a try migrating to suggestion API once I get the hang of it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It seems WifiNetworkSuggestion works very well if your device is not connected to a network regardless of it being saved network or not |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As wifi-suggect said:
we can use
WifiNetworkSuggestionapi to connect wifi on Android Q+.but I think it`s not friendly for developers . we can just provider a suggestion to tell the system: I wanna connect this ssid. Then the system would receive it " at a right time " .
I tried this way many times , but this method works by accident. when it works , the system would send a notification for users to choose weather we use " this suggestion ". Uses may ignore such a suggestion or choose to reject .
Beta Was this translation helpful? Give feedback.
All reactions