I am working on an IoT app in which there is an on boarding process where the user connects to an access point, which has not internet connectivity, configure the device and then connects to his home Wifi network.
Android 8 devices have been causing some problems, disconnecting from the access point and reconnecting to a previously configured network. I am assuming this is related to the connectivity update which was introduced in Android 8, from section Seamless Connectivity in this link:
On compatible devices, automatic activation of Wi-Fi when a high quality saved network is nearby.
My question is how to disable this behaviour as I need to stay connected to the access point, without internet connectivity, and finish the on Boarding process.