From e31d7b672879a66a5186e173cb759fe6f298ac9e Mon Sep 17 00:00:00 2001 From: windhost Date: Sat, 30 Sep 2017 13:44:04 +0800 Subject: [PATCH] fix for react-native 0.47 fix the problem for createJSModules is deprecated --- .../amaplocation/RCTAMapLocationPackage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/src/main/java/com/reactnativecomponent/amaplocation/RCTAMapLocationPackage.java b/android/src/main/java/com/reactnativecomponent/amaplocation/RCTAMapLocationPackage.java index 32b8f77..b69e97c 100644 --- a/android/src/main/java/com/reactnativecomponent/amaplocation/RCTAMapLocationPackage.java +++ b/android/src/main/java/com/reactnativecomponent/amaplocation/RCTAMapLocationPackage.java @@ -20,7 +20,8 @@ public List createNativeModules(ReactApplicationContext reactConte ); } - @Override + // Deprecated RN 0.47 + // @Override public List> createJSModules() { return Collections.emptyList(); }