Skip to content

Commit 8349c70

Browse files
authored
Merge pull request joltup#23 from sja1n/master
fixes joltup#21 i.e. no react application context found
2 parents eb06054 + adbdd9a commit 8349c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactlibrary/ThreadBaseReactPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public ThreadBaseReactPackage(ReactInstanceManager reactInstanceManager) {
3535
public List<NativeModule> createNativeModules(ReactApplicationContext catalystApplicationContext) {
3636
return Arrays.<NativeModule>asList(
3737
// Core list
38-
new AndroidInfoModule(),
38+
new AndroidInfoModule(catalystApplicationContext),
3939
new ExceptionsManagerModule(reactInstanceManager.getDevSupportManager()),
4040
new AppStateModule(catalystApplicationContext),
4141
new Timing(catalystApplicationContext, reactInstanceManager.getDevSupportManager()),

0 commit comments

Comments
 (0)