Start a new topic

Running a function in the AR world from the app WebView

Running a function in the AR world from the app WebView


Hi,

We are using the wikitude cordova plugin 3.2.0 in our app now.

Is there any way to run a function in the AR world from the app WebView?

For example;

While the AR is running, the app revieves a message. Is it possible to display this message by the HTML belongs to AR WebView?

We have looked for the documents, but we coulnd find any.

Thank you,

Nakasha

You may display content on top of AR-View only in plain iOS/Android Wikitude SDK.
In Cordova you can send messages from JS to cordova (using urlListener, compare POI detail sample), but cannot display cordova elements on top of AR due to technical restrictions (AR view "sits on top of the Cordova WebView", isolated from Cordova's context)

Best regards
Login or Signup to post a comment