simonsteer / rn-animated-progress-circle

A React Native animated progress circle component with no dependencies (aside from react-native)
MIT License
21 stars 15 forks source link

Check for type of change value does not work in production builds #7

Open paulxuca opened 4 years ago

paulxuca commented 4 years ago

See https://github.com/simonsteer/rn-animated-progress-circle/blob/master/src/index.js#L93

This check does not work in production, where class names are mangled. This causes animated values to be passed to .setValue, which causes a crash natively.

eadz commented 1 year ago

Did you come up with a fix for this @paulxuca ?

paulxuca commented 1 year ago

We ended up using patch-package and patching the line that did not work in production.