Skip to content

Commit

Permalink
fix timeout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mirmoktadir committed Mar 28, 2024
1 parent eb200b9 commit 63d6846
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>

<application android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:label="GetXS">
<application android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:label="GetX Standard">
<activity android:name=".MainActivity" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:exported="true" android:hardwareAccelerated="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>GetXS</string>
<string>GetX Standard</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
8 changes: 4 additions & 4 deletions lib/app/service/REST/dio_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import 'package:dio/dio.dart';
import 'api_header.dart';

class DioClient {
static const int TIME_OUT_DURATION = 2000;
static const int TIME_OUT_DURATION = 10;
BaseOptions baseOptions = BaseOptions(
connectTimeout: const Duration(milliseconds: TIME_OUT_DURATION),
receiveTimeout: const Duration(milliseconds: TIME_OUT_DURATION),
sendTimeout: const Duration(milliseconds: TIME_OUT_DURATION),
connectTimeout: const Duration(seconds: TIME_OUT_DURATION),
receiveTimeout: const Duration(seconds: TIME_OUT_DURATION),
sendTimeout: const Duration(seconds: TIME_OUT_DURATION),
);

//GET
Expand Down
4 changes: 2 additions & 2 deletions web/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "GetXS",
"short_name": "GetXS",
"name": "GetX Standard",
"short_name": "GetX Standard",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
Expand Down
2 changes: 1 addition & 1 deletion windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(getx_standard LANGUAGES CXX)

# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "GetXS")
set(BINARY_NAME "GetX Standard")

# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
Expand Down

0 comments on commit 63d6846

Please sign in to comment.