New Capacitor App, 404 Images


#1

Hello,

I created a new Capacitor app today /glew-app, and copied my images into an /images folder alongside index.html, and the images are copying into the iOS images folder @ ios/App/public/images but images in the simulator are 404. The safari error is

Failed to load resource: unsupported URL unsafe:capacitor://localhost/images/…

Any assistance getting these images to load would be much appreciated!


#2

Hello,

And here is the file structure which shows the images are there


#3

Your framework is adding “unsafe:” to the urls, that’s the problem.
It’s difficult to know why without seeing your code