Commit 8349c704 authored by Travis Nuttall's avatar Travis Nuttall Committed by GitHub

Merge pull request #23 from sja1n/master

fixes #21 i.e. no react application context found
parents eb060543 adbdd9a3
...@@ -35,7 +35,7 @@ public class ThreadBaseReactPackage implements ReactPackage { ...@@ -35,7 +35,7 @@ public class ThreadBaseReactPackage implements ReactPackage {
public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) { public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) {
return Arrays.<NativeModule>asList( return Arrays.<NativeModule>asList(
// Core list // Core list
new AndroidInfoModule(), new AndroidInfoModule(catalystApplicationContext),
new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()), new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()),
new AppStateModule(catalystApplicationContext), new AppStateModule(catalystApplicationContext),
new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()), new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment