fix: only use custom http client on android

krille/fix-build-android
Jayesh Nirve 3 years ago
parent 1c7b6a4953
commit 3d00d9f532

@ -84,10 +84,10 @@ abstract class ClientManager {
}
static Client createClient(String clientName) {
final _client = CustomHttpClient.createHTTPClient();
return Client(
clientName,
httpClient: _client,
httpClient:
PlatformInfos.isAndroid ? CustomHttpClient.createHTTPClient() : null,
verificationMethods: {
KeyVerificationMethod.numbers,
if (kIsWeb || PlatformInfos.isMobile || PlatformInfos.isLinux)

Loading…
Cancel
Save