-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'bool' of undefined #102
Comments
..It looks like the issue might be from the version of react (for react-native 0.49.3...its likely 16.0.0-beta.5).. ..the error you displaying doesn't give much info but if the issue is what i'm guessing (likely the change in how PropTypes are now referenced)..then u have to modify the react-native-swiper /src/index.js
..you might get a createClass error after that..modify same file as above with below changes.. ..hope this helps.. |
this step work for me. 1 . add
4.update 5. add |
Quick fix |
This is all kind of hacky not suitable for stable production app, the owner should upgrade the lib... |
This happens because this lib uses FuYaoDe's own fork of Two solutions:
A temporary fix is going to |
@Jacse I went to https://www.npmjs.com/package/react-native-app-intro-v2, someone made the fix, this is more suitable than this kind of tricky hacks. It's a one month issue, this is supposed to be fixed when you've a 1600+ stars software or you should mark it as not maintained anymore and give people access to fix it. |
@ScreamZ I wholeheartedly agree, thanks for the link. |
Hi again everyone. So I realised that the author is very unlikely to continue developing the component. For that reason I have spent the last two days making my own. It supports Android & iOS (even the iPhone X) and is pretty easy to setup. It does not support parallax yet, though. You can take a look here I would appreciate if anyone wants to test it out. You can install by doing:
|
After installation I get this error
Also I only including the component using
import AppIntro from 'react-native-app-intro';
I use react-native 0.49.3.
How can I fix this? 😭
The text was updated successfully, but these errors were encountered: