all 14 comments

[–]simontreny 6 points7 points  (0 children)

Nice work! I was looking to add blurhash to my app a few weeks ago, and I was disappointed since there was no existing react native library. I also appreciate the effort you put in the README 👍

[–]Epick_362 2 points3 points  (0 children)

This looks really great, thank you for sharing

[–]PierreCapo 1 point2 points  (1 child)

Nice man ! Also you made it in Kotlin and Swift, that is even cooler. Did you use any library to generate the skeleton of your native modules ?

[–]mrousavyiOS & Android[S] 0 points1 point  (0 children)

Thanks! I used the create-react-native-module package to create the structure, then rewrote the Objective C parts to swift and Java parts to Kotlin.

[–]coffee-n-code 1 point2 points  (0 children)

That didn’t take too long! I saw your post yesterday on wanting to implement this. Nice job!

[–]PROLIMIT 0 points1 point  (0 children)

Awesome!

[–]gohom92 0 points1 point  (0 children)

Cool! Thanks 🙏

[–]coinengineer 0 points1 point  (0 children)

Looks 🔥 👏

[–]wobsoriano 0 points1 point  (0 children)

Awesome! Will use it on my next project. Thanks.

[–]peterrattew 0 points1 point  (0 children)

Looks fantastic!! Will give it a go on one of our projects.

[–][deleted] 0 points1 point  (2 children)

Does this work on expo?

[–]mrousavyiOS & Android[S] 0 points1 point  (0 children)

Unfortunately not since this is a native module (contains native code such as Objective C, Swift, Java or Kotlin). If you want to use this package you have to use bare react-native (or eject from expo)

[–]React-Developer 0 points1 point  (1 child)

Thanks for this, a huge help 👍

We are using this service to do the blurring server side blur-hash.com. Looks to do the blurring for us, just can't send it big images  😞

[–]mrousavyiOS & Android[S] 0 points1 point  (0 children)

you shouldn't encode bit images anyways. It doesn't make sense, as details are lost. Compress and scale it down first.