react-native-barcode-creator icon indicating copy to clipboard operation
react-native-barcode-creator copied to clipboard

Style props don't support percentage on Android

Open VincentQuillienShine opened this issue 1 year ago • 2 comments

Hi !

When passing a percentage to a style prop (e.g. width: '100%') the app crashes with the following error: java.lang.String cannot be cast to java.lang.Double.

Since percentages are passed as string, the native side should accept both String and Double.

Thanks !

VincentQuillienShine avatar Mar 19 '24 14:03 VincentQuillienShine

I am having the same experience

obie3 avatar Apr 15 '24 17:04 obie3