apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 987 forks source link

SVG no longer shown in ios 13.5 #868

Closed ronligt closed 1 year ago

ronligt commented 4 years ago

Bug Report

Problem

What is expected to happen?

An mathjax equation is converted to SVG with mjpage. This rendered html file is used in cordova app on iPhone (7). In ios < 13.5 app is started and shows equation as intended.

What does actually happen?

In ios 13.5 app is started and equation is not shown

Information

Command or Code

Version information

Checklist

mosabab commented 4 years ago

Please update to ios@6.0.0 and remove the wkwebview plugin, there is no need for it anymore (it is already integrated to ios@6.0.0).

And take in your mind that SVG may take long to appear in simulator, but in real device it appear fast .

Just to confirm did you add the svg in <img> tag ? like this <img src="images/loader/dots.svg" alt="loading">?

If yes, I think it should work.

Regards

timbru31 commented 4 years ago

Well, if it works in iOS <13.5, I suspect that Apple has changed something. Have you read the WebKit release notes for 13.5 or searched in their BugTracker? Does the SVG get rendered in a plain Safari tab?

dpogue commented 1 year ago

I've marked this issue as stale because it's been several years with no further comments. If this is still an issue in the latest cordova-ios version and an up-to-date iOS version, please let us know. Otherwise, this issue will be closed.

dpogue commented 1 year ago

Closing as stale.