diff --git a/android/app/build.gradle b/android/app/build.gradle index 4892b16..e584a55 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -31,6 +31,7 @@ if (flutterVersionName == null) { android { namespace = "com.cloud.solutions.mowater.ksa.provider" compileSdkVersion 36 + ndkVersion = "28.2.13676358" compileOptions { coreLibraryDesugaringEnabled true diff --git a/android/build.gradle b/android/build.gradle index d208535..bbfe4ca 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -32,14 +32,14 @@ buildscript { - ext.kotlin_version = '2.1.0' + ext.kotlin_version = '2.3.10' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.9.1' + classpath 'com.android.tools.build:gradle:8.11.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.4.2' } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index e2847c8..ca025c8 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/android/settings.gradle b/android/settings.gradle index fdab6c8..950469e 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -18,8 +18,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version '8.9.1' apply false - id "org.jetbrains.kotlin.android" version "2.0.21" apply false + id "com.android.application" version '8.11.1' apply false + id "org.jetbrains.kotlin.android" version "2.3.10" apply false } diff --git a/lib/main.dart b/lib/main.dart index 1c5dad1..ed0cf99 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -69,14 +69,9 @@ Future main() async { ProviderAppRoutes.routes.addAll(AppRoutes.routes); runApp(MultiProvider( providers: [ - ChangeNotifierProvider( - create: (_) => BaseVM(), - ), + ChangeNotifierProvider(create: (_) => BaseVM()), ChangeNotifierProvider( - create: (_) => DashboardVMProvider( - userRepo: injector.get(), - commonServices: injector.get(), - ), + create: (_) => DashboardVMProvider(userRepo: injector.get(), commonServices: injector.get()), ), ChangeNotifierProvider( create: (_) => UserVM( diff --git a/lib/views/subscriptions/all_subscriptions_page.dart b/lib/views/subscriptions/all_subscriptions_page.dart index b857f96..38cef93 100644 --- a/lib/views/subscriptions/all_subscriptions_page.dart +++ b/lib/views/subscriptions/all_subscriptions_page.dart @@ -68,7 +68,7 @@ class _SubscriptionsPageState extends State { }, ), 21.height, - ListView.separated( + ListView.separated( itemBuilder: (BuildContext context, int index) { return AllSubscriptionsCard( subcriptionsVM.tempSubscriptions[index],