Closed oblador closed 8 months ago
For me at least it works if I run #106 instead of main
branch (also works after rebase).
After investigating the issue, the crash is caused by react-native-svg
itself in release mode. Debug works just fine.
Adding missing proguard rule and marking react-native-svg
as nohoist
doesn't solve the issue.
What's more interesting is that with Metro, react-native-svg
doesn't crash but also doesn't render anything.
react-native-svg
throws the same error with RN 0.66 (tested on #106).
Hey @zamotany and @oblador
We did some investigation with @lukewalczak and we've noticed that disabling hermes prevents app crash in production.
We also get report that it occurs in TesterApp based on V3 of Re.Pack and RN 0.68 🤔 - however weren't able to reproduce it.
Any ideas what can cause a conflict with enabling hermes ?
Hey @zamotany and @oblador
We did some investigation with @lukewalczak and we've noticed that disabling hermes prevents app crash in production.
We also get report that it occurs in TesterApp based on V3 of Re.Pack and RN 0.68 🤔 - however weren't able to reproduce it.
Any ideas what can cause a conflict with enabling hermes ?
I observed exactly the same behaviour when I disabled hermes with react-native version 0.72. Curious to understand what is hermes' implication here 🤔
This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.
This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.
Please, Open this issue, it is not resolved.
@hosseinmd please provide a minimal reproduction repository if you are facing this issue, we have react-native-svg
in our tester-app
and it's not crashing in release mode
i found the root cause, that was because of import { SvgCssUri } from 'react-native-svg/css';
Description
I've had some issues upgrading from 2.0.0 to 2.40 with android release mode specifically and when trying to reproduce it in the tester app I found similar issues, namely the following:
Through
git bisect
I tracked it down to being caused by PR #81.Reproducible Demo