Use Mobile Data if active WiFi conenction doesn't have access to internet

I am working on Flutter app (iOS) that has to connect to IOT device via WiFi, this device (WiFi) doesn't have Internet access, so we would like to access Internet via Mobile/Cellular data.

Sometimes (i don't know what triggers it) iPhone presents following popUp: 

If the User clicks "Use Mobile data", everything starts working as expected, http REST requests are send via Cellular/Mobile while we can still communicate with our IOT device via WiFi, the problem is that this popUp isn't always presented, even though Cellular is always turned on and the connection procedure to IOT device is the same.

Is there a way to somehow triger this request/popUp? Or some other way that I can force Http POST, GET etc. requests over Mobile/Cellular?

Use Mobile Data if active WiFi conenction doesn't have access to internet
 
 
Q