Start a new topic
Solved

Cordova samples shows loading screen

I build a Cordova app for Android but when I run the application it only shows a white screen with loading...


The steps I took was:

- Creating the Cordova app.
- Add the Android platform.

- Add the Wikitude plugin.

- Copied the sample files to the www folder.

- I added the licence key in all WikitudePlugin.js files (with between "").

- Build the application.


There are no errors while building.
The device is not asking to use my camera although I checked if that is included in the AndroidManifest.xml.


com.wikitude.phonegap.wikitudeplugin": "^9.2.0

cordova-android": "^8.1.0


Any suggestions where could have gone wrong?


Hi,


Did you make sure to follow the documentation and setup guide? 

Is the issue happening in your own app or in the sample app? If it's happening in your own app, does the sample app work?

Did you check other forum posts dealing with similar issues?

As you mention that the device is not asking for camera permission, it seems like this might be related - please make sure to check the permission handling as well.


Thx and greetings

Nicola

okay, followed the steps under 'Using the Wikitude Plugin to create your own augmented reality experience' on this page https://www.wikitude.com/external/doc/documentation/latest/phonegap/setupguidecordovacli.html#using-the-wikitude-plugin-to-create-your-own-augmented-reality-experience and got it working.

Login or Signup to post a comment