Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuforia not available in argon4(android version) #89

Open
denisdautllari opened this issue Jul 28, 2017 · 4 comments
Open

Vuforia not available in argon4(android version) #89

denisdautllari opened this issue Jul 28, 2017 · 4 comments

Comments

@denisdautllari
Copy link

denisdautllari commented Jul 28, 2017

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.

@blairmacintyre
Copy link
Contributor

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)

@blairmacintyre
Copy link
Contributor

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.

@denisdautllari
Copy link
Author

Indeed the code in the test directory is different to the tutorials.

@blairmacintyre
Copy link
Contributor

Sigh. Ok, I opened an issue on the tutorials repo, this needs to be fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants