GeekyAnts / GeekyAnts/NativeBase
Native-Base 2.15.2 incompatible with React-Native 0.69
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
After updating React-Native from 0.68 to 0.69 app is not building anymore.
Error: Requiring module "node_modules\\native-base\\dist\\src\\index.js", which threw an exception: Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from \'deprecated-react-native-prop-types\'
Also this error pops up in console when trying to build:
TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[14], "native-base").Item')
### CodeSandbox/Snack link
not needed
### Steps to reproduce
Upgrade React-Native from 0.68 to 0.69
### NativeBase Version
2.15.2
### Platform
- [X] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
_No response_
Contributor guide
Research direction
Start by reproducing the React-Native 0.68 to 0.69 upgrade with NativeBase 2.15.2 on Android or iOS, then trace the reported ViewPropTypes failure from NativeBase's package entry point. Done means the application builds on React-Native 0.69 without the ViewPropTypes or missing Item errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100