I created an app in Phonegap using Framework7. I am able to view images linked directly to the pages and images from the database by accessing the ip address the desktop app gives me, 192.168.10.101:3000. But I'm not able to view any images from the iPhone app. The iPhone app connects and takes ages to show the index page. But even when its loaded it never shows the images.
What could be the problem? Any help appreciated.
Many thanks. !
Had the same problem. Fixed it by just adding the following in the head section:
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; media-src *; img-src * filesystem: data:">