Getting started
Initial commit
First of all we need to add @roomle/web-sdk
to our npm dependencies and setup a build process. To finally load something you will need to do the following:
Loading different items
If you finished step one you where already able to load a static item. You only need to bind the method loadStaticItem
to a click event. We suggest something like:
Opening AR
To open AR you can use the quick-look features of Android and iOS. For Android a GLB is needed and for iOS a USDZ file.
To fetch the URL of the GLB you can use the module Rapi Access. This works as follows:
For platform specific details please visit one of the following links:
Code Sandbox
Since we only showed the relevant code in the snippets it's time to have a look on the working example. You can find it here in our CodeSandbox example.
Last updated