Commit b0cdc991788dbfb3c892636e7280e1c16d731e98
1 parent
76a8d305
bug 修复
Showing
2 changed files
with
2 additions
and
2 deletions
lib/android/src/main/java/cn/feewee/amap3d/AMap3DPackage.kt
... | ... | @@ -12,7 +12,7 @@ class AMap3DPackage : ReactPackage { |
12 | 12 | override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> { |
13 | 13 | return listOf( |
14 | 14 | SdkModule(reactContext), |
15 | - new AMapGeolocationModule(reactContext) | |
15 | + AMapGeolocationModule(reactContext) | |
16 | 16 | ) |
17 | 17 | } |
18 | 18 | ... | ... |
lib/android/src/main/java/cn/feewee/amap3d/modules/AMapGeolocationModule.java
... | ... | @@ -15,7 +15,7 @@ public class AMapGeolocationModule extends ReactContextBaseJavaModule implements |
15 | 15 | private DeviceEventManagerModule.RCTDeviceEventEmitter eventEmitter; |
16 | 16 | private AMapLocationClient client; |
17 | 17 | |
18 | - AMapGeolocationModule(ReactApplicationContext reactContext) { | |
18 | + public AMapGeolocationModule(ReactApplicationContext reactContext) { | |
19 | 19 | super(reactContext); |
20 | 20 | this.reactContext = reactContext; |
21 | 21 | } | ... | ... |