React Native 0.68.2: "Warning: ViewPropTypes will be removed from React Native."
Describe the bug
I just upgraded to React Native 0.68.2, and got the following warning:
ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.
The stacktrace traced back to this (awesome and much appreciated) library. If I do a search query, I can indeed find the offending lines.
To Reproduce
- [ ] I checked the demo project and cannot reproduce the issue
- [ ] I checked the demo project and the issue exists
Seems not relevant as demo project isn't up-to-date yet.
Steps to reproduce the behavior:
- Use the library in a project with React native 0.68.2 or higher (not sure which exact version started it).
- See warning
Expected behavior No warnings
Screenshots

Smartphone (please complete the following information):
- Device: iPad Air 5th generation
- OS: iOS
- Version 15.4
Though it'll be present on all brands and devices probably.
Additional context The warning itself suggests using 'deprecated-react-native-prop-types', but perhaps a better migration path is possible? (thinking Typescript for example)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale.....
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Fixed in 0.14.0