react-native-pixel-color icon indicating copy to clipboard operation
react-native-pixel-color copied to clipboard

Merge in Android support.

Open leblancexplores opened this issue 8 years ago • 3 comments

Hey all, nice work on the Android support! I can merge this in and publish to npm for the community if you'd like.

leblancexplores avatar May 16 '17 16:05 leblancexplores

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.

Gabri3l avatar Sep 27 '17 10:09 Gabri3l

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!

jsdario avatar Oct 02 '17 20:10 jsdario

I managed to make it work with some changes, as soon as I have some time I'll make a PR for it.

Gabri3l avatar Oct 05 '17 00:10 Gabri3l