From c4801271128d542f294dde08f49f92b2ee1e8144 Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Sun, 17 Sep 2017 00:35:17 +0200 Subject: [PATCH] Remove createJSModules - RN 0.47 compatibility (#66) * Remove depreciated createJSModules @ovveride marker * Fix typo * Fix typo in comment --- .../aakashns/reactnativedialogs/ReactNativeDialogsPackage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/aakashns/reactnativedialogs/ReactNativeDialogsPackage.java b/android/src/main/java/com/aakashns/reactnativedialogs/ReactNativeDialogsPackage.java index dbfabb0..ef47277 100644 --- a/android/src/main/java/com/aakashns/reactnativedialogs/ReactNativeDialogsPackage.java +++ b/android/src/main/java/com/aakashns/reactnativedialogs/ReactNativeDialogsPackage.java @@ -25,7 +25,7 @@ public class ReactNativeDialogsPackage implements ReactPackage { return Arrays.asList(new DialogAndroid(reactContext)); } - @Override + // Deprecated from RN 0.47 public List> createJSModules() { return Collections.emptyList(); }