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-typespackage and uses that instead.What testing has been done on this change?
Local testing, to ensure the deprecation warning has been removed.