diff --git a/mobile/lib/infrastructure/repositories/network.repository.dart b/mobile/lib/infrastructure/repositories/network.repository.dart index bb5796e220..75f7850168 100644 --- a/mobile/lib/infrastructure/repositories/network.repository.dart +++ b/mobile/lib/infrastructure/repositories/network.repository.dart @@ -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), + ), + ); } }