react-native-gizwits-baidu-map 1.0.73 → 1.1.1

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.
@@ -28,6 +28,7 @@ repositories {
28
28
  }
29
29
 
30
30
  android {
31
+ namespace "org.lovebing.reactnative.baidumap"
31
32
  compileSdkVersion safeExtGet('compileSdkVersion', 28)
32
33
  buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
33
34
 
@@ -36,7 +37,19 @@ android {
36
37
  targetSdkVersion safeExtGet('targetSdkVersion', 28)
37
38
  versionCode 1
38
39
  versionName "${version}"
40
+ // Exclude deprecated armeabi architecture
41
+ ndk {
42
+ abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
43
+ }
44
+ }
45
+
46
+ // Include native libraries from libs directory
47
+ sourceSets {
48
+ main {
49
+ jniLibs.srcDirs = ['libs']
50
+ }
39
51
  }
52
+
40
53
  buildTypes {
41
54
  release {
42
55
  minifyEnabled false
@@ -48,6 +61,15 @@ android {
48
61
  sourceCompatibility JavaVersion.VERSION_1_8
49
62
  targetCompatibility JavaVersion.VERSION_1_8
50
63
  }
64
+
65
+ // Packaging options to ensure .so files are included
66
+ packagingOptions {
67
+ pickFirst 'lib/**/libBaiduMapSDK_base_v7_6_6.so'
68
+ pickFirst 'lib/**/libBaiduMapSDK_map_v7_6_6.so'
69
+ pickFirst 'lib/**/liblocSDK8b.so'
70
+ pickFirst 'lib/**/libc++_shared.so'
71
+ pickFirst 'lib/**/libtiny_magic.so'
72
+ }
51
73
  }
52
74
 
53
75
  dependencies {
Binary file
Binary file
@@ -172,4 +172,9 @@ public class RoutePlanSearchModule extends BaseModule implements OnGetRoutePlanR
172
172
  public void onGetBikingRouteResult(BikingRouteResult bikingRouteResult) {
173
173
 
174
174
  }
175
+
176
+ @Override
177
+ public void onGetIntegralRouteResult(com.baidu.mapapi.search.route.IntegralRouteResult integralRouteResult) {
178
+ // Integral route result callback - empty implementation for compatibility
179
+ }
175
180
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-gizwits-baidu-map",
3
- "version": "1.0.73",
4
- "description": "1.0.72 修复ios poi.tags nil问题 \\n 1.0.58,更新iOS s.dependency 'BaiduMapKit', '6.5.1'\\n s.dependency 'BMKLocationKit', '2.0.2',iOS地图SDK隐私合规接口添加 更新安卓maven库;\\n针对react-native EventEmitter 移除once方法修改调整Geolocation.js \\n Baidu Map SDK modules and views for React Native(Android & iOS), support react native 0.61+. 百度地图 React Native 模块,支持 react native 0.61+,已更新到最新的百度地图 SDK 版本。",
3
+ "version": "1.1.1",
4
+ "description": "1.1.0 支持16kb页面大小 \\1.0.72 修复ios poi.tags nil问题 \\n 1.0.58,更新iOS s.dependency 'BaiduMapKit', '6.5.1'\\n s.dependency 'BMKLocationKit', '2.0.2',iOS地图SDK隐私合规接口添加 更新安卓maven库;\\n针对react-native EventEmitter 移除once方法修改调整Geolocation.js \\n Baidu Map SDK modules and views for React Native(Android & iOS), support react native 0.61+. 百度地图 React Native 模块,支持 react native 0.61+,已更新到最新的百度地图 SDK 版本。",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -14,7 +14,7 @@
14
14
  "Baidu Map",
15
15
  "React Native"
16
16
  ],
17
- "author": "lovebing",
17
+ "author": "Roc",
18
18
  "license": "MIT",
19
19
  "bugs": {
20
20
  "url": "https://github.com/lovebing/react-native-baidu-map/issues"