Open T1t4m1un opened 5 days ago
Hey, Installing react-native-vector-icons is one of the requirements. You can find more details in the documentation: https://callstack.github.io/react-native-paper/docs/guides/getting-started/
@seb-zabielski if it's required, then why it's not a dependency? It would simplify the installation.
@jcubic I took the advice on your question, and here is the answer I got:
autolinking doesn’t work (yet) with transitive dependencies, so even though it would be a dependency of paper, a user would still need to install it as their dep – causing potential version mismatches as well
Here you also have link to related discussion: https://github.com/react-native-community/cli/issues/870
React Native Paper Version: 5.12.3 latest React Native Version: 0.74.2 latest Platform: Android
When using IconButton, the app crashes due to a missing dependency on react-native-vector-icons:
Reproduce:
This problem has an overflow effect on components that use IconButton. I discovered the problem when using SearchBar.