Closed leoafarias closed 2 years ago
I'm getting similar error node_modules/react-native-onboarding-swiper/src/Page.js:52: 49 | Page.propTypes = { 50 | isLight: PropTypes.bool.isRequired, 51 | image: PropTypes.element.isRequired,
52 | containerStyles: ViewPropTypes.style, 53 | imageContainerStyles: ViewPropTypes.style, 54 | title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired, 55 | subtitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
+1, I ran into this error as well. looks like there are other search hits with ViewPropTypes being deprecated as well. https://github.com/reactrondev/react-native-web-swiper/issues/41
I tried on Expo too, I'm new to react-native but deffo won't be trying this again on Expo, it resulted in me having to try to re-install node and clone and initialise my project on a new one .
I tried on Expo too, I'm new to react-native but deffo won't be trying this again on Expo, it resulted in me having to try to re-install node and clone and initialise my project on a new one .
What's the solution then? it was working fine then after few days I come across this error and can't find its solution
This component is not compatible with Expo until the ViewPropTypes issues are resolved.
Yeah same here, getting that error and I have Expo. Anyone know of good alternatives?
I managed to get mine working on expo in the end, not near my laptop now but lookup getting async storage for expo and use the necessary import lined for it. I'll have a look once able to
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Jesper Rapouw @.> Sent: Saturday, May 22, 2021 8:19:44 AM To: jfilter/react-native-onboarding-swiper @.> Cc: abuhumayed @.>; Comment @.> Subject: Re: [jfilter/react-native-onboarding-swiper] Expo error ViewPropTypes.style on Release mode (#101)
Yeah same here, getting that error and I have Expo. Anyone know of good alternatives?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jfilter/react-native-onboarding-swiper/issues/101#issuecomment-846367544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSMYA5IPVUG5L2PYU3W5R3TO5LJBANCNFSM4WZAZQBQ.
I'm pretty sure I used to get the package
expo install react-native-onboarding-swiper
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Abu humayed Junayed @.> Sent: Saturday, May 22, 2021 3:45:05 PM To: jfilter/react-native-onboarding-swiper @.>; jfilter/react-native-onboarding-swiper @.> Cc: Comment @.> Subject: Re: [jfilter/react-native-onboarding-swiper] Expo error ViewPropTypes.style on Release mode (#101)
I managed to get mine working on expo in the end, not near my laptop now but lookup getting async storage for expo and use the necessary import lined for it. I'll have a look once able to
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Jesper Rapouw @.> Sent: Saturday, May 22, 2021 8:19:44 AM To: jfilter/react-native-onboarding-swiper @.> Cc: abuhumayed @.>; Comment @.> Subject: Re: [jfilter/react-native-onboarding-swiper] Expo error ViewPropTypes.style on Release mode (#101)
Yeah same here, getting that error and I have Expo. Anyone know of good alternatives?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jfilter/react-native-onboarding-swiper/issues/101#issuecomment-846367544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSMYA5IPVUG5L2PYU3W5R3TO5LJBANCNFSM4WZAZQBQ.
This was fixed. However, React Native for Web is currently not working. https://github.com/jfilter/react-native-onboarding-swiper/issues/83
Hi,
While running the expo app in release mode. I am getting an error
TypeError: undefined is not an object (evaluating 'k.ViewPropTypes.style')
Which means the app gets a blank screen and doesn't open. The issue points at this package, sorry if I cannot get a more detailed error, but on production, a lot of the logs are being supressed.