Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade icons library to fix gradle issue #965

Closed
wants to merge 1 commit into from

Conversation

achou11
Copy link
Member

@achou11 achou11 commented May 2, 2022

Version 8.1.0 of react-native-vector-icons fixes an issue related to fonts not being copied properly with Android Gradle plugin 4.1.0+

issue: oblador/react-native-vector-icons#1265
commit: oblador/react-native-vector-icons@a1a019c

We're currently noticing an issue where fonts are completely omitted from the generated apks after running assemble commands in Gradle. We're currently using v4.2.2 of the plugin, which would potentially explain why we're seeing this issue at the moment.

Not entirely sure why this hasn't been caught earlier, considering I made the gradle change during the react native upgrade. Perhaps recent changes to our build commands have surfaced the issue more noticeably 🤷‍♂️

Ran the app in a dev environment after upgrading the library and there did not seem to be any visual regressions as a result of upgrade. Also confirmed that running the gradle assemble commands in question locally also resulted in the generated apks containing the fonts

@achou11 achou11 requested review from gmaclennan and ErikSin May 2, 2022 19:56
@achou11
Copy link
Member Author

achou11 commented May 3, 2022

Closing this since I cherry-picked this into #963 instead

@achou11 achou11 closed this May 3, 2022
@achou11 achou11 deleted the ac/fonts-gradle-issue branch May 3, 2022 14:50
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