Start a new topic

Can not load architect world from iOS documents folder

Hi,


I just updated my Wikitude iOS JavaScript API from 8.7.0 to 8.9.0 and my architect worlds aren't loaded anymore. The architect view just displays the outline of a square (see screenshot not_working.png) instead of an instruction image from the assets folder of the architect world (see screenshot working.png).


There are two interesting things about this issue:

- It works if the architect world is loaded from the application bundle. But it does not work when it's loaded from the documents folder of my app.

- It works with WikitudeSDK 8.7 (even from the documents folder)


Some ideas anyone?


Best,

Danial

working.jpeg
(597 KB)
notworking.PNG
(2.01 MB)

Hi Danial,


Do you have the same behavior with SDK 8.9.1?


Thx and greetings

Nicola

Yes, I do ...

Hi Nicola,

are you able to reproduce the issue?

Best, Danial

Hi,


It's assigned to our internal tech team and they will provide you with details once they're on it to answer the support requests and are done with the investigation.


Thx and greetings

Nicola

Hi Danial,


Sorry for the late response.


Yes, I could reproduce this issue, it seems to be related to the update of UIWebView to WKWebView in our latest release. We will address this URL parsing issue properly in a future release.


In the meantime, could you try adding a file:// prefix to your URL when loading a file from Documents? So that the final URL to load the experience would be something like:

file:///var/mobile/Containers/Data/Application/X/Documents/Experience/index.html


Let me know if that works out for you.


- Damian

Hi Damian,

thanks for your response!

My URLs already have that file:// prefix. Do you have another workaround for this issue?

Or is there some kind of estimation when we can expect a fixed release?

Best,

Danial


Login or Signup to post a comment