Browse Source

[fit]修复flutter版本升级导致的问题

zk 6 tháng trước cách đây
mục cha
commit
43a634db07

+ 1 - 1
android/app/build.gradle

@@ -8,7 +8,7 @@ plugins {
 android {
     namespace = "com.trace.location"
     compileSdk = rootProject.ext.compileSdkVersion
-    ndkVersion = flutter.ndkVersion
+    ndkVersion = rootProject.ext.ndkVersion
 
     compileOptions {
         sourceCompatibility = JavaVersion.VERSION_1_8

+ 2 - 1
android/build.gradle

@@ -1,9 +1,10 @@
 allprojects {
     ext {
-        compileSdkVersion = 34
+        compileSdkVersion = 35
         applicationId = "com.shishi.dingwei"
         minSdkVersion = 23
         targetSdkVersion = 34
+        ndkVersion = '27.0.12077973'
     }
     repositories {
 

+ 1 - 1
android/gradle/wrapper/gradle-wrapper.properties

@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip

+ 1 - 1
android/settings.gradle

@@ -20,7 +20,7 @@ pluginManagement {
 
 plugins {
     id "dev.flutter.flutter-plugin-loader" version "1.0.0"
-    id "com.android.application" version "7.3.0" apply false
+    id "com.android.application" version "8.7.0" apply false
     id "org.jetbrains.kotlin.android" version "1.8.22" apply false
 }
 

+ 1 - 1
plugins/agile_pay/lib/src/alipay/alipay.dart

@@ -1,12 +1,12 @@
 import 'dart:async';
 
+import 'package:alipay_kit_has_namespace/alipay_kit.dart';
 import 'package:flutter/widgets.dart';
 
 import '../assist/agile_pay_state_info.dart';
 import '../code/agile_pay_code.dart';
 import '../listener/i_agile_pay.dart';
 import 'ali_pay_info.dart';
-import 'package:alipay_kit/alipay_kit.dart';
 
 class Alipay extends AgilePayStateInfo implements IAgilePay {
   final AliPayInfo _aliPayInfo;

+ 1 - 1
plugins/agile_pay/pubspec.yaml

@@ -12,7 +12,7 @@ dependencies:
     sdk: flutter
 
   #支付
-  alipay_kit: ^6.0.0
+  alipay_kit_has_namespace: ^6.0.0
   #微信支付
   wechat_kit: ^6.0.1
   #goodle & apple

+ 1 - 1
pubspec.yaml

@@ -57,7 +57,7 @@ dependencies:
   flutter_smart_dialog: 4.9.8
 
   #数据存储
-  mmkv: 2.0.2
+  mmkv: 2.2.2
 
   #权限申请
   permission_handler: 11.3.1