Skip to main content

Augmented Reality

After adding the dependency to your app, the methods for creating the Augmented Reality experience will be available through the R2U object.

R2U.deviceSupportsAR

mobile

Returns true if the device supports Augmented Reality. See list of supported devices for iOS and Android.

R2U.openAR

mobile

The openAR method displays the given sku model inside the AR experience. By default, the resize parameter is false. Be sure to only display the AR button on supported devices