Start a new topic

Black screen cordova ios

I'm facing a black screen problem when I call:


This problem appears only on iOS, on Android is everything fine!

I've tried to use this code to but with no success...

Diagnostic.isCameraAuthorized().then((auth) => { if(!auth) Diagnostic.requestCameraAuthorization().then((req) => { // launch ar }); else { // launch AR :) } });

What is curious is that I can use with no problem the sample version:

Is there a configuration that it only works as a tab page or something?

*I did the configuration in Xcode.

There are something incompatible with Wikitude?

<engine name="android" spec="^6.2.3" />

    <engine name="ios" spec="^4.4.0" />

    <plugin name="cordova-plugin-app-version" spec="^0.1.9" />

    <plugin name="cordova-plugin-camera" spec="^2.4.1">

        <variable name="CAMERA_USAGE_DESCRIPTION" value=" " />

        <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value=" " />


    <plugin name="cordova-plugin-console" spec="^1.0.7" />

    <plugin name="cordova-plugin-device" spec="^1.1.6" />

    <plugin name="cordova-plugin-facebook4" spec="^1.9.1">

        <variable name="APP_ID" value="842682645909161" />

        <variable name="APP_NAME" value="apponte" />


    <plugin name="cordova-plugin-file" spec="^4.3.3" />

    <plugin name="cordova-plugin-file-transfer" spec="^1.6.3" />

    <plugin name="cordova-plugin-filepath" spec="^1.0.2" />

    <plugin name="cordova-plugin-geolocation" spec="^2.4.3">

        <variable name="GEOLOCATION_USAGE_DESCRIPTION" value=" " />


    <plugin name="cordova-plugin-linkedin" spec="^1.2.1">

        <variable name="APP_ID" value="4504164" />


    <plugin name="cordova-plugin-network-information" spec="^1.3.3" />

    <plugin name="cordova-plugin-speechrecognition" spec="^1.1.2" />

    <plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />

    <plugin name="cordova-plugin-statusbar" spec="^2.2.3" />

    <plugin name="cordova-plugin-touch-id" spec="^3.2.0" />

    <plugin name="cordova-plugin-whitelist" spec="^1.3.2" />

    <plugin name="cordova.plugins.diagnostic" spec="^3.6.6" />

    <plugin name="ionic-plugin-keyboard" spec="^2.2.1" />

1 Comment

Good morning Pablo,

I'm afraid I cannot help you with this. As we do not support Ionic officially, I do not have any knowledge of the workings of it. Neither do I have an Ionic set up on my machine; so there's no way for me to try this.

We provide the Cordova plugin and a Cordova sample app. If you can reproduce the issue you are having therein, I'd be happy to have a look. Otherwise, you'll need to figure this out yourself if you want to use Ionic, I'm afraid.

Sorry to no have better news for you.

- Daniel

Login or Signup to post a comment