I struggled with the issue for multiple hours and finally came to the conclusion that style-components and styled-system where not being installed with react-native-styled-toast so it was necessary to install them separately to get the package running without crashing on my mobile app and now currently i get an error
The Error Code:
Invariant Violation: Invalid prop `backgroundColor` supplied to `StyleSheet generated`: background
This error is located at:
in StyledNativeComponent (created by Styled(Component))
in Styled(Component)
in Unknown
in RCTView (created by View)
in View
in StyledNativeComponent (created by Styled(View))
in Styled(View) (created by ToastProvider)
in ToastProvider (created by App)
in ThemeProvider (created by App)
in RCTView (created by View)
in View (created by App)
in App (created by ExpoRoot)
in ExpoRoot
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
I struggled with the issue for multiple hours and finally came to the conclusion that style-components and styled-system where not being installed with react-native-styled-toast so it was necessary to install them separately to get the package running without crashing on my mobile app and now currently i get an error