Open Panthjeet opened 2 years ago
You can convert local files to url using
It looks like the rest of your response was cut off.
@Panthjeet I have the same problem. did you get a solution?
import square from '../../../assets/images/quesImg/square.png'; const imgUrl = Image.resolveAssetSource(square).uri; <SignatureScreen ref={ref} overlaySrc={imgUrl} overlayWidth={imgWidth} overlayHeight={imgHeight} webStyle={style} onOK={handleOK} /> Using this I was able to load the image.
Is there a way to use an image from local directories instead of a URL?