Environment
IoT device (esp32) doesn't have an internet connection
HTTP server is run on IoT devices.
Call NEHotspotConfigurationManager.shared.apply. SSID, Passphrase, isWEP=false, joinOnce=false. Connection response without error
Wait 10 seconds, send HTTP request from the app to the device.
HTTP request is failed. NSURLErrorNotConnectedToInternet error code.
On the wifi settings screen I see: "progress indicator" near the IoT device's Wi-Fi and "No internet connection" message. When I tap on Wi-Fi to open the detail screen, I see an incorrect IP address.
If I try to send an HTTP request from Safari to my device, I see no internet connection message too.
But, If I wait a few minutes when the progress indicator and "No internet connection" message disappear (iOS settings screen):
IP address now is correct
Safari display success response from the device
Mobile receives a successful response without any errors.
Tested on iPhone8(iOS 14.2, iOS14.3), iPhoneX(iOS 14.2),