java.lang.AssertionError: createReactContextInBackground should only be called when creating the react application for the first time. When reloading JS, e.g. from a new file, explicitlyuse recreateReactContextInBackground

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 280#273475330
    via GitHub by SudoPlz
    ,
  • Crash in LayoutEngine.java
    via GitHub by anuragdadheech
    ,
  • GitHub comment 87#146592418
    via GitHub by JorisM
    ,
  • Android React Native Module already registered
    via Stack Overflow by Leena
    ,
  • [Android]ScrollableTabBar Crash
    via GitHub by Richard-Cao
    ,
  • GitHub comment 78#279624072
    via GitHub by KenChoi1992
    ,
    • java.lang.AssertionError: createReactContextInBackground should only be called when creating the react application for the first time. When reloading JS, e.g. from a new file, explicitlyuse recreateReactContextInBackground at com.facebook.infer.annotation.Assertions.assertCondition(Assertions.java:65) at com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(XReactInstanceManagerImpl.java:348) at com.reactnativenavigation.react.NavigationReactGateway.startReactContextOnceInBackgroundAndExecuteJS(NavigationReactGateway.java:33) at com.reactnativenavigation.NavigationApplication.startReactContext(NavigationApplication.java:35) at com.reactnativenavigation.controllers.SplashActivity.onCreate(SplashActivity.java:18)
    No Bugmate found.