Skip to content

Commit

Permalink
add annotation for createJSModules func
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard-Cao committed Aug 4, 2017
1 parent 42cf839 commit 7e4cd92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public List<NativeModule> createNativeModules(ReactApplicationContext reactConte
});
}

// Deprecated RN 0.47
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}

@Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Collections.emptyList();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-exceptions-manager",
"version": "0.1.9",
"version": "0.2.0",
"description": "React-Native Crash Reporter(Do not trigger native crash).",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7e4cd92

Please sign in to comment.