Android 10 can change the wifi connection from the app directly(pop up a alert box and let the user click connect).
Android 8 will fail when the phone is the first time(new) connect to the wifi network from the app directly.
But when a user connect the wifi network from wifi setting and disconnected (not new). The second time, when user connect the wifi network from app directly, it will success.
Two android 8 phone were tested.
*first time mean your phone, never connected to the wifi or you ever clicked the "forget the network" in wifi setting.
Steps to Reproduce
Android 8 phone, go to wifi setting and forgot the target network(if connected before, make sure it is new in setting)
<!--
Have you read the plugins' Code of Conduct? By creating an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/tripflex/wifiwizard2/blob/master/CODE_OF_CONDUCT.md
-->
Prerequisites
Check all boxes if you have done the following:
Issue type
Select all that apply
Description
Android 10 can change the wifi connection from the app directly(pop up a alert box and let the user click connect).
Android 8 will fail when the phone is the first time(new) connect to the wifi network from the app directly. But when a user connect the wifi network from wifi setting and disconnected (not new). The second time, when user connect the wifi network from app directly, it will success.
Two android 8 phone were tested.
*first time mean your phone, never connected to the wifi or you ever clicked the "forget the network" in wifi setting.
Steps to Reproduce
Expected behavior: [What you expect to happen]
Can connect to a target wifi from app directly.
Actual behavior: [What actually happens]
Failed to change the wifi from app directly if the wifi network is new to the phone
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
latest version from github master branch. Android 8 : Asus Zenfone 4 and LG Nexus 5
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.