react-native-blurhash
react-native-blurhash copied to clipboard
Add React-RCTImage dependency
Blurhash imports RCTImageLoader which is part of React-RCTImage. This fixes failing builds with use_frameworks! (cocoapods) enabled.
This doesn't seem to work once use_frameworks! is disabled:
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `react-native-blurhash` depends upon `React-RCTImage`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
need to investigate more.
Ah yeah, I remember having this issue a while back. :/
I'll publish a release with your other change for now, thanks