iyegoroff / react-native-image-filter-kit

Various image filters for iOS & Android
MIT License
317 stars 42 forks source link

Error: Invariant failed: ImageFilterKit: 'Ashby' filter doesn't exist on android #110

Closed dguard closed 2 years ago

dguard commented 2 years ago

Hey, same issue: https://github.com/iyegoroff/react-native-image-filter-kit/issues/64

Copied InstagramCSS.tsx from examples/CustomFilter

Error: Invariant failed: ImageFilterKit: 'undefined' filter doesn't exist on android.

On reload - Invariant failed: ImageFilterKit: Attempt to add already registered filter(s) - Ashby

dguard commented 2 years ago

Ok, it works you added at top const image = <Image style={style} source={{ uri }} />

I think it is counter intuitive - it should be uppercased to be something like StyledImage because with name "image" I expected it should work out of box - because component named as core component either core property

Thanks for your solution