fix(mobile): low upload timeout on android (#27399)

fix timeout
This commit is contained in:
Mert
2026-03-30 17:05:21 -04:00
committed by GitHub
parent e8309585d6
commit a1a2939868
@@ -22,7 +22,14 @@ class NetworkRepository {
final session = URLSession.fromRawPointer(clientPointer.cast());
_client = CupertinoClient.fromSharedSession(session);
} else {
_client = OkHttpClient.fromJniGlobalRef(clientPointer);
_client = OkHttpClient.fromJniGlobalRef(
clientPointer,
configuration: const OkHttpClientConfiguration(
connectTimeout: Duration(seconds: 30),
readTimeout: Duration(seconds: 60),
writeTimeout: Duration(seconds: 60),
),
);
}
}