jeromeetienne / threex.webar

three.js extensions for Augmented Reality
http://jeromeetienne.github.io/threex.webar/examples/basic.html
313 stars 81 forks source link

Use with Cordova? #3

Open grayxr opened 8 years ago

grayxr commented 8 years ago

Question: Seeing as how cordova-based hybrid and cross-platform applications expose system functionality but still utilize web technologies - could this library be tuned to work with iOS as well as Android based platforms via a cordova setup? There are even cordova-based plugins such as this one that expose the full WebRTC JS APIs for iOS. I'm wondering if your library could be made to work in this sort of scenario - and I would love helping in anyway I can to provide an extension for this library if necessary. Thanks!

jeromeetienne commented 8 years ago

i never tried cordova but it seems possible. webar relies on offical standard API.

If cordova emulate those api, the integration should be rather simple.

6h0571nd45h3ll commented 7 years ago

@graydetroit You'd need to use crosswalk: https://crosswalk-project.org/documentation/cordova.html

Though I'd recommend get it going with just crosswalk straight to android or ios first. I've had issues with cordova with advanced features.