diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index eaf1789..4048b18 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -11,32 +11,29 @@ plugins {
android {
namespace = "com.example.proxibuy"
compileSdk = flutter.compileSdkVersion
- ndkVersion = flutter.ndkVersion
+ ndkVersion = "27.0.12077973"
compileOptions {
- sourceCompatibility = JavaVersion.VERSION_11
- targetCompatibility = JavaVersion.VERSION_11
+ isCoreLibraryDesugaringEnabled = true
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
- jvmTarget = JavaVersion.VERSION_11.toString()
+ jvmTarget = "1.8"
}
defaultConfig {
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.proxibuy"
- // You can update the following values to match your application needs.
- // For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 23
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
+ multiDexEnabled = true
}
buildTypes {
release {
- // TODO: Add your own signing config for the release build.
- // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
@@ -45,3 +42,8 @@ android {
flutter {
source = "../.."
}
+
+dependencies {
+ // این نسخه به آخرین نسخه مورد نیاز آپدیت شد
+ coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
+}
\ No newline at end of file
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index df814f7..28af001 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -1,18 +1,20 @@
+
+
+
-
-
+
+
-
-
+
-
+
+
+
-
+
-
+
\ No newline at end of file
diff --git a/lib/core/config/api_config.dart b/lib/core/config/api_config.dart
index 8a56d7d..e1bc137 100644
--- a/lib/core/config/api_config.dart
+++ b/lib/core/config/api_config.dart
@@ -5,6 +5,9 @@ class ApiConfig {
static const String updateUser = "/user/updateName";
static const String updateCategories = "/user/favoriteCategory";
static const String getFavoriteCategories = "/user/getfavoriteCategory";
- static const String addReservation = "/reservation/add";
- static const String getReservations = "/reservation/get";
+ static const String addReservation = "/reservation/add";
+ static const String getReservations = "/reservation/get";
+ static const String updateFcmToken = "/user/firebaseUpdate";
+ static const String addComment = "/comment/add";
+ static const String getComments = "/comment/get/";
}
\ No newline at end of file
diff --git a/lib/core/config/app_colors.dart b/lib/core/config/app_colors.dart
index 5fbbd02..6eaa2f8 100644
--- a/lib/core/config/app_colors.dart
+++ b/lib/core/config/app_colors.dart
@@ -17,4 +17,6 @@ class AppColors {
static const Color countdownBorderRserve = Color.fromARGB(255, 186, 222, 251);
static const Color expiryReserve = Color.fromARGB(255, 183, 28, 28);
static const Color uploadElevated = Color.fromARGB(255, 233, 245, 254);
+ static const Color backgroundConfirm = Color.fromARGB(255, 237, 247, 238);
+ static const Color notifIcon = Color.fromARGB(255, 179, 38, 30);
}
\ No newline at end of file
diff --git a/lib/data/models/comment_model.dart b/lib/data/models/comment_model.dart
index dd15047..3ef2ee7 100644
--- a/lib/data/models/comment_model.dart
+++ b/lib/data/models/comment_model.dart
@@ -23,13 +23,18 @@ class CommentModel extends Equatable {
List