fix:[Android] Fix amap crash and adapt amap privacy compliance interface #946
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 更新