Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

AR/Camera not working for samples? #52

Description

@vicung

I'm looking into developing a Geo AR App and therefore want to try out wikitude's instant tracking and Geo AR functionalities. I have setup cordova, added the wikitude plugin, built several of the sample folders for android and ran them on my Samsung S8.
The App launches on my phone but instead of the AR View I only see a white screen with the ADE "button" on the bottom right and some other UI elements. I have manually configured all permission settings for the app including camera permission. I have tried out different settings in ADE but it doesn't seem to make much of a difference
The only errors I'm getting from the console are these, while the latter two appear when I touch anywhere on the white space on the screen:

architect.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ade.js:1 Uncaught TypeError: AR.js.click.executePlatformClick is not a function
at Object.executeClick (ade.js:1)
at HTMLDocument.touchendEvent (ade.js:1)
ade.js:1 Uncaught TypeError: AR.js.click.executePlatformClick is not a function
at Object.executeClick (ade.js:1)
at HTMLDocument.touchendEvent (ade.js:1)

I have also tried the Unity Wikitude samples and with those the camera work perfectly fine, but because I'm interested in the sensor-based Geo AR, this is (at least currently) not an option.
I have also found the other github sample repo here #https://github.com/Wikitude/wikitude-cordova-plugin-samples but the command line doesn't seem to work on Windows?!

How can I get the samples work properly with cordova?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions