-
Notifications
You must be signed in to change notification settings - Fork 6
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
Example crashed on Android #2
Comments
Interesting, thanks. When you say the app crashed ... I guess you mean a "red-box" right? do you have a stack-trace? I wasn't seeing crashes on either platform last time I ran this (it was a while ago) ... did you change anything else e.g. the React-Native version or the react-native-svg version? |
My app crashed on Android: The app crashed with the "Unfortunately, MyApp has stopped" alert. it's not the React Native Red Screen. |
Aha, so newer React-Native and react-native-svg than I was using. Possibly you've come across a bug in the newer version of react-native-svg? (because using panhandlers on a Moving the panhandlers to an enclosing view presumably changes the behaviour somewhat - e.g. in my version you had to be touching the circle at the end of the slider to be able to drag it, but in yours I guess you can touch anywhere - depends if that's the behaviour you want to achieve i guess. |
I don't know what happen on my side and i got what you mean. |
sure - thx, good luck! |
I've implement your code and app crashed on Android.
I solved this problem by wrap
<Svg/>
component with<View/>
component and every things working well for me.Could you please check my gist: https://gist.github.com/nhatquya/ab2002b7ab1d578004834e7854aecfb3
Thanks!
The text was updated successfully, but these errors were encountered: