From d08a83557d00708fec38874def54909e05c8aec9 Mon Sep 17 00:00:00 2001 From: kuloud Date: Tue, 11 Mar 2025 21:22:56 +0800 Subject: [PATCH] feat: update amap sdk version --- CHANGELOG.md | 5 +++++ README.md | 2 +- android/build.gradle | 2 +- example/android/gradle.properties | 4 ---- example/android/gradle/wrapper/gradle-wrapper.properties | 4 ++-- example/android/settings.gradle | 4 ++-- example/ios/Podfile.lock | 2 +- pubspec.yaml | 2 +- 8 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 example/android/gradle.properties diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d7625b..d3b5897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.13 +2025-03-11 +* 升级amap android sdk版本 10.1.200_loc6.4.9_sea9.7.4 | 2025-03-11 +* 升级amap iOS sdk版本 10.1.200 | 2024-12-26 + ## 1.0.12 2024-08-26 * code lint diff --git a/README.md b/README.md index df136b7..c0c1878 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ | | Android | iOS | | ----------- | -------------------------- | -------- | -| **AMapSDK** | 10.0.800_loc6.4.5_sea9.7.2 | 10.0.900 | +| **AMapSDK** | 10.1.200_loc6.4.9_sea9.7.4 | 10.1.200 | | **Support** | SDK 16+ | 12.0+ | 本插件基于 amap_flutter_map 3.0.0 进行二开的原因: diff --git a/android/build.gradle b/android/build.gradle index b905546..77c4e8f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -33,7 +33,7 @@ android { } dependencies { - implementation 'com.amap.api:3dmap-location-search:10.0.800_loc6.4.5_sea9.7.2' + implementation 'com.amap.api:3dmap-location-search:10.1.200_loc6.4.9_sea9.7.4' implementation 'androidx.annotation:annotation:1.8.1' } diff --git a/example/android/gradle.properties b/example/android/gradle.properties deleted file mode 100644 index a3f33e5..0000000 --- a/example/android/gradle.properties +++ /dev/null @@ -1,4 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -android.useAndroidX=true -android.enableJetifier=true -#android.enableR8=true diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index cfe88f6..7d1fb88 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Fri Jun 23 08:50:38 CEST 2017 +#Tue Mar 11 20:48:47 CST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip diff --git a/example/android/settings.gradle b/example/android/settings.gradle index e2b6ac0..b8982ca 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -18,8 +18,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.4.2" apply false - id "org.jetbrains.kotlin.android" version "1.7.10" apply false + id "com.android.application" version "8.9.0" apply false + id "org.jetbrains.kotlin.android" version "2.1.10" apply false } include ":app" diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index f1a7b4c..b95ca20 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - AMap3DMap (10.0.900): + - AMap3DMap (10.1.200): - AMapFoundation (>= 1.8.0) - amap_map (1.0.8): - AMap3DMap diff --git a/pubspec.yaml b/pubspec.yaml index ce1ae98..d44e69e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - lints: ^4.0.0 + lints: ^5.1.1 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec