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

On setup choosing WiFi and going back, need to disconnect from Photon Soft AP #56

Open
jensck opened this issue Feb 14, 2019 · 3 comments
Labels
bug DeviceSetupLib Issues specific to the Device Setup Library

Comments

@jensck
Copy link
Contributor

jensck commented Feb 14, 2019

Issue: When user changes mind about WiFi network, the phone remains connected to Soft AP and fails when selecting "Ready". (Not tested, but leaving the app they may still remain connected to Soft AP thus failing any other internet connection they are expecting to have if setup was abandoned.)

To reproduce issue: Setup > "Ready" > Select Photon Soft AP > See list of WiFi networks...user changes mind and goes "Back" via Android back buton (user for example decides maybe they needed to select a different Photon Soft AP, or going back while walking in range to a different WiFi network).

Back on the Ready screen, when hitting Ready to setup again it fails to advance. At this point the device is still connected to the Soft AP. If the user manually changes back their WiFi connection, only then will Ready work again.

Original issue: particle-iot/spark-setup-android#68

@IgnacioBasallote
Copy link

Hi, I have an issue in case the wifi setup ends up with an error. When I close the app and restart it, the cellphone remains connected to the device Wi-Fi. Then, if the user tries to log in again it will not be possible since there is no internet connection. The solution is to go to mobile settings and delete the device Wi-Fi and to connect the mobile to the internet.

Would it be possible to delete/disconnect the mobile from the device if the Wi-Fi configuration process fails?

This problem was found in a Samsung SM-G965F on Android 9.

Thanks in advance!

@jensck
Copy link
Contributor Author

jensck commented Jan 20, 2020

I think a workaround for this could be added reasonably easily. I'll look into it for the next release of the device setup lib.

@IgnacioBasallote
Copy link

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug DeviceSetupLib Issues specific to the Device Setup Library
Projects
None yet
Development

No branches or pull requests

2 participants