Tip: give this article by TJ a read if you want a nice introduction to AR in NativeScript. It uses an older version of the plugin, but it's still quite relevant.
From the command prompt go to your app's root folder and execute:
tns plugin add nativescript-ar
To dive in quickly, install NativeScript if you don't have it yet:
npm i -g nativescript,
then clone this repo:
git clone https://github.com/EddyVerbruggen/nativescript-ar cd nativescript-ar/src
src folder you'll find a
package.json which has the commands to build and run these demos:
npm run demo.solarsystem.ios npm run demo.solarsystem.android
npm run demo.pokemon.ios npm run demo.pokemon.android
npm run demo.glasses.ios npm run demo.glasses.android
This is just a kitchen sink demo with a lot of random stuff.
npm run demo.ios npm run demo.android
npm run demo.plainjs.ios npm run demo.plainjs.android