Open denisdautllari opened 7 years ago
Can you compare the code to the vuforia samples in the samples repository? I'm not sure if the folks doing the tutorials have updated them to the most recent argon.js (sorry if that's the case)
Most importantly, if the tutorials haven't been updated since the Android release, the version of argon.js there simple may not work on Android.
Indeed the code in the test directory is different to the tutorials.
Sigh. Ok, I opened an issue on the tutorials repo, this needs to be fixed!
I've been testing a simple vuforia sample (i have used the code from https://docs.argonjs.io/tutorial/part4/ ) on argon4 android . I cannot initialize vuforia because the promise object returned by app.vuforia.isAvailable() remains in "pending" state . There are no errors or warnings .
app.vuforia.isAvailable().then( //if promise is fulfilled function (available) { // vuforia not available on this platform // in argon4 android this is never executed if (!available) { console.warn("vuforia not available on this platform."); return; } else{ console.log("vuforia is available"); } }, //if promise is rejected function(reason) { // rejection // in argon4 android this is never executed console.log(reason) } ); When i try the same app in argon4 IOS it works as it should . I have used Samsung galaxy edge S6 and Samsung galaxy S5 for my tests.