-
Notifications
You must be signed in to change notification settings - Fork 378
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
Use deprecated-react-native-prop-types #159
Conversation
hey @i6mi6 , can we get this merged please? your lib isn't usable with the latest react native version, it fails builds. |
+1 to this I'm completely blocked on this unfortunately |
I ended up "resolving" the issue by applying the following patch that you can use the patch-package for. The good thing is since it's a React native patch it will work for any library with this issue not just this one:
|
You deserve all the kudos in the world, this saved my ass thank you! |
` In react native version - 0.72.0 in index.js file we have same line of code you have provided above still its showing same error this line of code
|
Platforms affected
All
What does this PR do?
RN 0.68 has deprecated and will eventually remove
ViewPropTypes
(see post). This adds thedeprecated-react-native-prop-types
package and uses that instead.What testing has been done on this change?
Local testing, to ensure the deprecation warning has been removed.