Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change JSMainModule to index on Android
Browse files Browse the repository at this point in the history
mb-14 committed Dec 12, 2016
1 parent 22cc26a commit bbe9555
Showing 4 changed files with 6 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -28,6 +28,11 @@ protected List<ReactPackage> getPackages() {
new RazorpayPackage()
);
}

@Override
protected String getJSMainModuleName() {
return "index";
}
};

@Override
10 changes: 0 additions & 10 deletions example/index.android.js

This file was deleted.

10 changes: 0 additions & 10 deletions example/index.ios.js

This file was deleted.

2 changes: 1 addition & 1 deletion example/index.js
Original file line number Diff line number Diff line change
@@ -66,4 +66,4 @@ const styles = StyleSheet.create({
}
});

module.exports = example;
AppRegistry.registerComponent('example', () => example);

0 comments on commit bbe9555

Please sign in to comment.