torgeadelin/react-native-animated-nav-tab-bar

The library needs to move @react-navigation/native to peerDependencies.

khelifioussama opened this issue · 1 comments

This is a problem in the react-native-animated-nav-tab-bar package. It adds @react-navigation/native to its dependencies which makes it possible to include multiple versions of @react-navigation/native since you will also have it in your own package.json, and multiple versions of @react-navigation/native will cause such issues:

"@react-navigation/native": "^5.9.0",

The library needs to move @react-navigation/native to peerDependencies.

It also does the same for react-native-screens, it's in dependencies whereas it should be in peerDependencies.

Please update to the latest version, this should be fixed now.