On Sun, Sep 16, 2018 at 5:24 PM Artem Sidyakin wrote:
> I would understand if local file loading was allowed and remote forbidden,
> but not the other way around. So if remote works, so should local.
>
No, a local file can be a threat if you receive it by email etc.
Especially on an iOS where th
I would understand if local file loading was allowed and remote forbidden, but
not the other way around. So if remote works, so should local.
To confirm that, I simply copied files into the app bundle (Show Package
Contents) and just to be sure checked if they are “accessible”:
foreach(QString
Le dim. 16 sept. 2018 à 12:22, Artem Sidyakin a
écrit :
> Original question was about “communication between WebView and QML on
> iOS”, which does work, as we can see.
> Now there is an issue of loading HTML documents from file/resource system,
> but that’s a different kind of issue, innit (which
Original question was about “communication between WebView and QML on iOS”,
which does work, as we can see.
Now there is an issue of loading HTML documents from file/resource system, but
that’s a different kind of issue, innit (which I also would like to get to the
bottom of).
> you confirm tha
> > Are you sure the WebView can load from the resources (url:
> “qrc:/index.html)?
>
> I knew it cannot (does qrc:/ work on iOS at all?), but I was silently
> waiting for someone to provide the way it should be done on iOS :)
> Unfortunately no-one did, so apparently it’s a bigger problem than I
>