NativeBase
NativeBase copied to clipboard
ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
Description
tried to update react-native version 0.69.1 getting this error ERROR Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
CodeSandbox/Snack link
NA
Steps to reproduce
No response
NativeBase Version
3.4.9
Platform
- [X] Android
- [x] CRA
- [X] Expo
- [X] iOS
- [x] Next
Other Platform
No response
Additional Information
No response
Hey @harish-narra, Thanks for reporting the issue. We'll look into it.
Thanks, @ankit-tailor, if possible please look into ASAP, we are using this library, and we need to release the app with a new update without any patches. hope you understand
Hi, same error here. Is there a workaround for this?
@harish-narra you found any patch or something? this is a huge incompatibility for expo sdk 46
This bug is still there in native-base@latest and acts as a blocker for me while migrating to new architecture react-native. @ankit-tailor Please look into this.
@Luca-Settle and @harish-narra Guys please share if you got any solution regarding this bug.
Same here! Any updates on this issue?
Same issue here
any updates on the issue , i am getting the error expo sdk 46 , i have used patchpackages which are working fine in development builds , but app is getting crashed on standalone apk
Check this: https://www.reddit.com/r/reactnative/comments/11lay13/invariant_violation_viewproptypes_has_been/
My answer is the last one and worked for me as a solution.
Is this still an issue with the latest version Native Base V3.4.28?
Guys! You understand the hassle with the upgrade from v2 to v3 right? Tell me what should I do? Should I upgrade the whole app from 6 years ago manually updating latest versions of all dependencies for NativeBase to work or can I expect a new 2.x.x version to solve this issue?