The following error pops up just after launching app.

I assume that I'm doing something wrong with integration of React context API.
So I'd appreciate if someone could point out what I'm doing wrong with using context API and react-native-navigation.
I'm wrapping a root screen with React Context API based on this
It doesn't give the error on iPhoneX(12.1) simulator but on some other older versions such as iPhone6(12.1), 6s(12.1).
my index.js looks like below
function registerComponents() {
Navigation.registerComponent('Detail', () => Detail)
Navigation.registerComponent('Preview', () => Preview)
Navigation.registerComponent('Filter', () => Filter)
Navigation.registerComponent(
'Search',
() => props => (
<SearchContextProvider>
<Search {...props} />
</SearchContextProvider>
),
() => Search
)
}
registerComponents()
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: 'Search',
options: {
topBar: {
visible: false
}
}
}
}
]
}
}
})
})
Same problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
Same issue on 0.59.8
I am also getting this same issue on Android
"react-native": "0.59.8",
Same problem with react-native": "0.59.8",
I have the same problem but only on Android. On iOs it works fine.
react-native 0.59.8
I am using react-native-navigation (v1) 1.1.491
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
Have the same issue on react-native 0.59.10
Same for me
I am having the same issue on Android.
Malformed calls from JS: field sizes are different.
[[84,33],[20,0],[[260,2000,1585903674435,false]],3338]
RCTFatal
-[RCTCxxBridge handleError:]
__34-[RCTCxxBridge _initializeBridge:]_block_invoke
facebook::react::RCTMessageThread::tryFunc(std::__1::function
std::__1::__function::__func
std::__1::__function::__value_func
__CFRunLoopDoBlocks
__CFRunLoopRun
CFRunLoopRunSpecific
+[RCTCxxBridge runRunLoop]
__NSThread__start__
_pthread_start
thread_start
"react": "16.9.0",
"react-native-navigation": "^6.3.1",
"react-native": "0.61.5",
Don't know why close this issue , if everybuddy facing issue still the day?
Same issue here on Android when I call navigator.push. I'm running react-native 0.59.10.
It seems that this only happens once during the lifetime of my app. If I dismiss the error message, I can continue normally. When I restart my app and do navigator.push, it happens again once and then goes away. However, not all navigator.push calls cause this.
I believe this issue should not be closed as many others are also having this problem.
I upgraded to RN 0.62 and RN navigation to 0.6.5 and haven't faced this since then.