A-Frame/AR.js in iOS

Hi all,

In a project I’m working on, we want to use A-Frame, with Android this all works as expected. But on iOS we can’t get it to work the way we want.

For starters, on iOS there is still no WebRTC, so we use the iosrtc cordova plugin there. That plugin works, I can view my camera. A-Frame also seems to do something, I can draw simple boxes. But I cannot get the camera working. The following error is shown in the console:

[Error] Not allowed to load local resource: blob:blobinternal:///480951e5-1001-423b-837f-2f6d1572d469

Does this have to do with the WKWebView and local access issues? I tried looking up where the resource is being loaded, but could not yet find it.

So my question is, is there someone who has a working A-Frame/Ionic/iOS example or combination?

For anyone interested, I created a small example on GitHub (https://github.com/abroekhuis/ionic-aframe) in which A-Frame is tried.

Many thanks!