Hi,
I am using expo snack sdk and I am trying to download image to “assets” folder from following url: “https://s3-us-west-2.amazonaws.com/figma-alpha-api/img/7561/42ee/705a541c124c53b24ac6b991c5c6f3ff”.
My code:
currentSnack.updateFiles({
"assets/testImage.png": {
type: "ASSET",
contents: "https://s3-us-west-2.amazonaws.com/figma-alpha-api/img/7561/42ee/705a541c124c53b24ac6b991c5c6f3ff"
}
})
But I can not open testImage.png as it damaged. What causes the error? Maybe there are problems with the image link?
Best regards,
Emir