Start a new topic

Android - Cordova not required Wikitude plugin

Android - Cordova not required Wikitude plugin
1 Comment


Hi,

I am using wikitude plugin with cordova in IOS it's working but in Android not working. I think that it not required plugin wikitude becasu it's not call function callback. 

 

var app = {

// represents the device capability of launching ARchitect Worlds with specific features
isDeviceSupported: false,
isArchitectWorldLoaded: false,

// Application Constructor
initialize: function() {
this.bindEvents();
},
// Bind Event Listeners
//
// Bind any events that are required on startup. Common events are:
// 'load', 'deviceready', 'offline', and 'online'.
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
// deviceready Event Handler
onDeviceReady: function() {
app.wikitudePlugin = cordova.require("com.wikitude.phonegap.WikitudePlugin.WikitudePlugin");
},
...



};

app.initialize();

 
Login or Signup to post a comment