fix:[Android] Fix amap crash and adapt amap privacy compliance interface#946
Open
jaydroid1024 wants to merge 4 commits intodidi:masterfrom
Open
fix:[Android] Fix amap crash and adapt amap privacy compliance interface#946jaydroid1024 wants to merge 4 commits intodidi:masterfrom
jaydroid1024 wants to merge 4 commits intodidi:masterfrom
Conversation
alvince
reviewed
Nov 17, 2021
Android/app/src/main/java/com/didichuxing/doraemondemo/amap/DefaultNaviListener.kt
Outdated
Show resolved
Hide resolved
Android/dokit/src/main/java/com/didichuxing/doraemonkit/kit/lbs/route/AMapRealNavMockView.kt
Outdated
Show resolved
Hide resolved
Android/app/src/main/java/com/didichuxing/doraemondemo/amap/AMapRouterFragment.kt
Outdated
Show resolved
Hide resolved
… differences in API calls of different amap sdk versions 2. Add VersionUtils class in dokit_util lib 3. Dokit lib update for amap privacy 4. Demo app update for amap privacy
2. Remove unnecessary modify
Author
|
@alvince |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
高德地图相关sdk升级到最新版本(>= v8.1.0)后需要强制添加隐私合规接口否则会导致崩溃
文档地址:https://lbs.amap.com/api/android-navi-sdk/guide/create-project/configuration-considerations#t3
Dokit 中涉及到的地方
关于适配高德地图sdk隐私合规的代码改动
添加了三个module
dokit-amap-api:抹平不同版本api调用的差异
dokit-amap-no-privacy::高德地图sdk增加隐私合规接口之前版本的一些操作
dokit-amap-with-privacy::高德地图sdk增加隐私合规接口之后版本的一些操作
发布脚本更新
添加版本比较工具类
dokit-util 添加 VersionUtils.kt
添加 VersionUtils 以及对应的单元测试类VersionUtilsTest.kt
dokit-util 添加 Kotlin 相关配置
dokit 组件的更新
演示 Demo 更新