Skip to content

Commit

Permalink
[Fabric] Register the MainComponentsRegistry
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Feb 28, 2022
1 parent 5e7d88f commit adeee8b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import com.facebook.react.uimanager.ViewManagerRegistry;
import com.facebook.soloader.SoLoader;
import com.rnnewarchitectureapp.components.AnswerViewerManager;
import com.rnnewarchitectureapp.components.MainComponentsRegistry;
import com.rnnewarchitectureapp.modules.MainApplicationTurboModuleManagerDelegate;
import com.rnnewarchitectureapp.modules.NativeAnswerSolver;
import java.lang.reflect.InvocationTargetException;
Expand Down Expand Up @@ -134,6 +135,7 @@ public JSIModuleType getJSIModuleType() {
public JSIModuleProvider<UIManager> getJSIModuleProvider() {
final ComponentFactory componentFactory = new ComponentFactory();
CoreComponentsRegistry.register(componentFactory);
MainComponentsRegistry.register(componentFactory);

final ReactInstanceManager reactInstanceManager = getReactInstanceManager();

Expand Down

0 comments on commit adeee8b

Please sign in to comment.