Since iOS 11 we can set:
let sessionConfiguration = URLSessionConfiguration.default
sessionConfiguration.multipathServiceType = .interactive
Then when WiFi connection is too slow, the app will automatically switch to cellular network, so HTTP requests will work fine. I need that because I use WeyeFeye device, so user's device is always connected to a WeyeFeye WiFi that doesn't work (we need it only to gain files from WeyeFeye).
So when I set this .interactive
URLSessionConfiguration
my application can do regular REST requests to our backend. But google map
doesn't work, because it uses URLSessionConfiguration.default
session configuration.
Is there any way to pass a session configuration to Google Maps
.
Update:
I have the same issue with Firebase
framework