@evnydd0sf/react-native-amap3d-fix 3.2.4-fix.2 → 3.2.4-fix.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,5 +30,5 @@ android {
30
30
  dependencies {
31
31
  compileOnly 'com.facebook.react:react-native:+'
32
32
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
33
- implementation 'com.amap.api:3dmap:9.6.0'
33
+ implementation 'com.amap.api:3dmap:10.0.600'
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evnydd0sf/react-native-amap3d-fix",
3
- "version": "3.2.4-fix.2",
3
+ "version": "3.2.4-fix.4",
4
4
  "description": "react-native 高德地图组件,支持 Android + iOS (Fork with compilation fix)",
5
5
  "author": "evnydd0sf <me@evnydd0sf.club>",
6
6
  "license": "MIT",
package/readme.md CHANGED
@@ -10,6 +10,12 @@
10
10
  - **解决方案**:将 `react-native-amap3d.podspec` 中的 AMap3DMap 依赖版本固定为 `10.0.1000`
11
11
  - **测试状态**:✅ 开发调试正常 ✅ 正式编译通过
12
12
 
13
+ - **提升了 Android 依赖版本,修复销毁时崩溃问题**
14
+ - **问题描述**:在 Android 设备上,地图组件销毁时会触发应用崩溃
15
+ - **根本原因**:旧版本的高德地图 Android SDK 在资源释放时存在内存管理问题
16
+ - **解决方案**:将 `lib/android/build.gradle` 中的 `com.amap.api:3dmap` 依赖版本提升至 `10.0.600`
17
+ - **测试状态**:✅ Android 设备运行稳定 ✅ 组件销毁正常
18
+
13
19
  ## 功能
14
20
 
15
21
  - 地图模式切换(常规、卫星、导航、夜间)