It seems that it could be a dependency of react-native-material-tabs? That is the only library that is actually being used, specifically, MaterialTabs:
import MaterialTabs from 'react-native-material-tabs';
The app crashes so there is no console logging I can do as far as I know. I am honestly not sure if I am on the right track. Has anyone had this issue before? Or can you suggest a way to debug if the problem is indeed with the props inside of MaterialTabs being that I don't have access to console due to the app just crashing natively.
I am trying to eliminate a bug that is causing my React Native 0.53.3 application to crash after it opens the splash screen.
From the MacOS
console
I was able to obtain this error message:Unhandled JS Exception: Cannot create styled-component for component: [object Object]
The only place in this application where
styled-component
is being utilized is herepackage-lock.json
:and here:
It seems that it could be a dependency of
react-native-material-tabs
? That is the only library that is actually being used, specifically,MaterialTabs
:And implemented here:
The app crashes so there is no console logging I can do as far as I know. I am honestly not sure if I am on the right track. Has anyone had this issue before? Or can you suggest a way to debug if the problem is indeed with the props inside of
MaterialTabs
being that I don't have access to console due to the app just crashing natively.You can download a copy of the app here to reproduce: https://www.dropbox.com/s/ygyrhnno8aou4jg/RNsampleApp.zip?dl=0