Skip to content

Fix custom icons dependencies#147

Open
adebroux wants to merge 3 commits into
upgrade-rnfrom
bugfix/custom-icons-dependencies
Open

Fix custom icons dependencies#147
adebroux wants to merge 3 commits into
upgrade-rnfrom
bugfix/custom-icons-dependencies

Conversation

@adebroux

@adebroux adebroux commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Problem

Custom icons aren't getting rendered properly on the new RN version. This is apparently because although the package.json points to "https://github.com/AdaloHQ/react-native-material-ui.git#upgrade-rn", the yarn.lock doesn't actually update when the upgrade-rn branch of react-native-material-ui updates. So this branch is still pulling in version 2.0.7 of the library instead of 2.1.10.

Solution

Update yarn.lock

Additional Notes

Looks like there's an issue with react-native-paper, react-native-vector-icons, and this library. Pulling the latest version of react-native-paper causes the builder to crash. Setting the version to what we had before fixes the issue, but at some point we might want to go in and update react-native-vector-icons, since it seems to be deprecated now.

@adebroux adebroux requested review from a team and Copilot January 2, 2026 22:25
@adebroux adebroux self-assigned this Jan 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a dependency resolution issue preventing custom icons from rendering correctly in the new React Native version. The main change removes the caret (^) prefix from the react-native-paper version specification, pinning it to an exact version to avoid compatibility issues with react-native-vector-icons and react-native-material-ui.

  • Pins react-native-paper to exact version 5.13.1 to prevent automatic updates that cause builder crashes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants