What code would you need? basic <img src="img/image.svg" /> won't work and background: url(../img/image.svg); also wont work. If i use object tag <object type="image/svg+xml... that will work but still SVG as css background won't.
Console will give this warning:
Content Security Policy has been modified to be: <meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' gap: ws: https://ssl.gstatic.com;style-src 'self' 'unsafe-inline' data: blob:;media-src *;script-src * 'unsafe-inline' 'unsafe-eval' data: blob:;">
although i have the meta tag:
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *" />
I just tested on my iPhone (iOS 10.1 beta 2 & 3) with the most recent version of PG Dev (1.7.2), and I can't load an SVG icon either. Something strange is going on. I haven't the time to debug it further at the moment, so I'd suggest creating a very simple test case and reporting the issue to Issues · phonegap/phonegap-app-developer · GitHub
I suspect either the SVG file isn't getting bundled in the zip file that is served to the device OR the CSP is to blame somehow. I know there were issues going from iOS 9 to 10 wrt the CSP becoming more restrictive in what it would accept, so it's possible that's the problem here, but I'm not certain.
It appears the problem was in the communication layer between the PhoneGap Developer App and the PhoneGap-CLI. I initially thought the CSP was the problem as well, but after many tests and head banging I concluded that the CSP was not the issue.
In fact, an overlooked pull request:https://github.com/phonegap/phonegap-plugin-contentsync/pull/143 has the fix. I'll be updating the PhoneGap Developer App shortly so hopefully expect to see a release sometime this week.
Thanks for reporting.