Closed yogevbd closed 9 months ago
Hi @yogevbd
I am facing the same error message:
Attempt to invoke virtual method 'com.reactnativenavigation.viewcontrollers.navigator.Navigator com.reactnativenavigation.NavigationActivity.getNavigator()' on a null object reference
As your mentioned, the activity is destroyed so mean the error message appears in case we close the app, isn't it?
This fixes a crash happening in the Wix app, look like there's a race condition where the activity is destroyed and navigator.onHostPause() gets called too late and should always be called at front of queue. Most of times this shouldn't be delayed as it is called on the main thread.
This is the crash:
Closes #7769