Thanks man, I'll give it a shot!
Diagnostic.isCameraAuthorized().then((auth) => { if(!auth) Diagnostic.requestCameraAuthorization().then((req) => { // launch ar }); else { // launch AR :) } });
Good idea – I'll give it a shot.
It looks like I'm actually using 6.1.0-3.4.2... if that makes a difference.
Hey Eva,
I'm using the Cordova SDK 6.0 (via this ionic starter app) and I've tried multiple examples, all with the same result. I accept the camera usage whenever it asks (usually the first time it's launched).
So far I've only tried on an Android (working), iPhone 4s (not working), but I plan to test it on a 5s as well at some point today.
Could it maybe be my xml file doesn't have a permission it requires for wikitude?
I'm having the same issue. The Wikitude logo does it's animation, iOS asks if I want to allow the camera (first time) and then it's just a black screen.
ios version 9.3.2 xcode 9.2.1 tks everyone can help me ,online wait
zhang chao
wikitude 6.0.0 use cordova plugin ,in android is work but same code in ios not work,in ios can open in,dispalay wikitude logo,but black screen ,do‘not display camera