I want to write an app in appstudio as a web app, probably PWA. I want to use the same process that many devices use to add themselves to the local wifi network. This means the device, in this case an ESP32, but could be anything, will start out prior to setup with a hot spot and a web page that will allow the user to enter the local wifi ssid and password.
The ESP32 would then shut down the HotSpot and then connect to the local wifi. Verify it works.
At this point, I need to know what the IP that was given to the ESP32. One way was go to back to the hotspot and provide the info there. I’lll need to work that part out. Maybe a static IP.
I was wondering if the user, who is prompted to change the wifi to our ESP32 hotspot, will the original PWA continue to operate and allow me to do AJAX calls on the new network.
And, if the ESP32 device stops sending the hotspot, I assume that most devices running my appstudio app would go back and reconnect to the original local wifi.
Any ideas on if the transition of wifi networks may affect my PWA web app. EG, am I on the right track?