From 7f62d56aeb66c69d55466bfe473db636f3f037f3 Mon Sep 17 00:00:00 2001 From: hasaxena Date: Fri, 12 Jan 2018 07:43:55 +0530 Subject: [PATCH] Error while generating build. --- android/src/main/java/com/imagepicker/ImagePickerPackage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/imagepicker/ImagePickerPackage.java b/android/src/main/java/com/imagepicker/ImagePickerPackage.java index 8fdb5b7b0..7114345ee 100644 --- a/android/src/main/java/com/imagepicker/ImagePickerPackage.java +++ b/android/src/main/java/com/imagepicker/ImagePickerPackage.java @@ -31,7 +31,7 @@ public List createNativeModules(ReactApplicationContext reactConte return Arrays.asList(new ImagePickerModule(reactContext, dialogThemeId)); } - @Override + // Deprecated RN 0.47 public List> createJSModules() { return Collections.emptyList(); } @@ -40,4 +40,4 @@ public List> createJSModules() { public List createViewManagers(ReactApplicationContext reactContext) { return Collections.emptyList(); } -} \ No newline at end of file +}