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

Commit

Permalink
Remove createJSModules @overide marker - RN 0.47 compatibility (react…
Browse files Browse the repository at this point in the history
  • Loading branch information
radko93 authored and janicduplessis committed Aug 13, 2017
1 parent 4c0984c commit 15c4e2a
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 15c4e2a

Please sign in to comment.