From e1832ee07b0e2bd78155e87f88c457655b7eaa0d Mon Sep 17 00:00:00 2001 From: Kuloud Date: Tue, 26 Dec 2023 12:26:21 +0800 Subject: [PATCH] release: 1.0.0+6 update readme doc --- README.md | 19 ++++++++++++++----- example/ios/Podfile.lock | 28 ++++++++++++++-------------- example/pubspec.yaml | 3 --- pubspec.yaml | 6 +++++- 4 files changed, 33 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index ab02d05..eeed344 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,16 @@ 基于[高德开放平台地图SDK](https://lbs.amap.com/api/)的flutter插件 ## Usage -使用Flutter插件,请参考[在Flutter里使用Packages](https://flutter.cn/docs/development/packages-and-plugins/using-packages), 添加amap_map的引用 +使用Flutter插件,请参考[在Flutter里使用Packages](https://flutter.cn/docs/development/packages-and-plugins/using-packages), 添加`amap_map`的引用 +```bash +flutter pub add amap_map +``` -## 准备工作 +## Prepare * 登录[高德开放平台官网](https://lbs.amap.com/)申请ApiKey。Android平台申请配置key请参考[Android获取key](https://lbs.amap.com/api/poi-sdk-android/develop/create-project/get-key/?sug_index=2), iOS平台申请配置请参考[iOS获取key](https://lbs.amap.com/api/poi-sdk-ios/develop/create-project/get-key/?sug_index=1)。 -* 引入高德地图SDK,Android平台请参考[Android Sudio配置工程](https://lbs.amap.com/api/android-sdk/guide/create-project/android-studio-create-project), iOS平台请参考[ios安装地图SDK](https://lbs.amap.com/api/ios-sdk/guide/create-project/cocoapods) -## 使用示例 +## Demo ``` Dart import 'package:amap_map_example/base_page.dart'; import 'package:flutter/material.dart'; @@ -64,7 +66,14 @@ class _ShowMapPageState extends State<_ShowMapPageBody> { ``` -## 已知问题 +## AMap SDK Version (v1.0.0+6) +|平台|版本| +|:-:|:-| +|Android|9.8.3| +|iOS|9.7.0| + + +## Issues 1. [android] app 的 targetSDKVersion >= 30, 地图页返回闪退 在里的AndroidManifest.xml里的application里增加`android:allowNativeHeapPointerTagging="false"` diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 980a44f..8bc94e1 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,18 +1,18 @@ PODS: - - AMap3DMap (8.1.0): - - AMapFoundation (~> 1.6.9) + - AMap3DMap (9.7.0): + - AMapFoundation (>= 1.8.0) - amap_map (0.0.1): - AMap3DMap - Flutter - - AMapFoundation (1.6.9) + - AMapFoundation (1.8.2) - Flutter (1.0.0) - - "permission_handler (5.1.0+2)": + - permission_handler_apple (9.1.1): - Flutter DEPENDENCIES: - amap_map (from `.symlinks/plugins/amap_map/ios`) - Flutter (from `Flutter`) - - permission_handler (from `.symlinks/plugins/permission_handler/ios`) + - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) SPEC REPOS: trunk: @@ -24,16 +24,16 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/amap_map/ios" Flutter: :path: Flutter - permission_handler: - :path: ".symlinks/plugins/permission_handler/ios" + permission_handler_apple: + :path: ".symlinks/plugins/permission_handler_apple/ios" SPEC CHECKSUMS: - AMap3DMap: 135eaaf64a29aeb2f0bca07670db26fbf3271245 - amap_map: 979e54d227cedac6c7504a2151bfbf3bcf96760a - AMapFoundation: 8d8ecbb0b2e9ce5487995360d26c885d94642bfd - Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c - permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0 + AMap3DMap: dce25dd3e51e6b92109caa7d0c97fc6055830fb3 + amap_map: fadcdab77d3fbb12a983c1e8aa434c3ef8dd4955 + AMapFoundation: 9885c48fc3a78fdfb84a0299a2293e56ea3c9fec + Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 -PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d +PODFILE CHECKSUM: e5ee00144d04e7b168ba7ea28a9753540e444f3d -COCOAPODS: 1.10.0 +COCOAPODS: 1.14.3 diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 5bd7f47..c7382c1 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -26,9 +26,6 @@ dependencies: # amap_map: # path: ../../amap_map - # The following adds the Cupertino Icons font to your application. - # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.0 dev_dependencies: flutter_test: diff --git a/pubspec.yaml b/pubspec.yaml index 9fbcc15..7288148 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,11 @@ name: amap_map description: Amap SDK Flutter plugin for integrating AMapSDK in iOS and Android applications. -version: 1.0.0+5 +version: 1.0.0+6 homepage: https://github.com/kuloud/amap_map +issue_tracker: https://github.com/kuloud/amap_map/issues +platforms: + android: + ios: environment: sdk: ">=3.1.5 <4.0.0"