Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request react-native-image-picker#775 from hasaxena/patch-1
Browse files Browse the repository at this point in the history
Error while generating build.
  • Loading branch information
haitaoli authored Feb 28, 2018
2 parents 3ac597a + 7f62d56 commit 96ce16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/imagepicker/ImagePickerPackage.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
return Arrays.<NativeModule>asList(new ImagePickerModule(reactContext, dialogThemeId));
}

@Override
// Deprecated RN 0.47
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}
Expand All @@ -40,4 +40,4 @@ public List<Class<? extends JavaScriptModule>> createJSModules() {
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Collections.emptyList();
}
}
}

0 comments on commit 96ce16d

Please sign in to comment.