Merge in Android support.
Hey all, nice work on the Android support! I can merge this in and publish to npm for the community if you'd like.
This PR could be quite useful to allow support for Android, I tried these changes but they don't work as expected and the examples are not up to date with the code. A createImage additional method has been added although when passing it an image url it throws an error, I suppose it's not supporting images hosted remotely at the moment.
The ability to just run getHex passing in the image was quite intuitive, unfortunately this is not how it works in its current version. I wish I knew more about creating Android module for react native to help out. I will experiment a bit and see if I can make it work.
Hi, creator of #7 here. I was unable to get a basic sample running in such version of Android, if I can help, or can have any leads towards help effectively, please let me know!
I managed to make it work with some changes, as soon as I have some time I'll make a PR for it.