react-native-shine-button
react-native-shine-button copied to clipboard
How can I introduce an external image as a shape?
Can you please guide or help in writing RNImageHelper that can be similar to RNVectorHelper?
Thanks @roots-ai for raising the query. External Image is not supported currently. Earlier I have tried a lot but with no success.
Thanks </ Pranav >
Anything that can be learnt from https://www.npmjs.com/package/react-native-sparkbutton ?
Thanks @root-ai for sharing the reference. I will go through the same and will share findings.
Thanks </ Pranav >
Thanks. Awaiting and looking forward.
Any updates here?
Hi @root-ai: I have gone through the shared library. Apparently it is non native bridge library [JS Based]. Handling custom images in JS is not an challenge. I am afraid to say that based on my past efforts, I have not succeeded in passing image from JS to Native, however we have a workaround: you can copy the image in iOS or Android native assets and can use the same. Please refer README for the same.
Let me know in case you are not able to set an image through native assets.
Thanks </ Pranav >