How to use the expo-core.NativeModulesProxy.ExpoAR function in expo-core

To help you get started, we’ve selected a few expo-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / packages / expo-ar / src / enums.ts View on Github external
import { NativeModulesProxy } from 'expo-core';

const ExpoAR = NativeModulesProxy.ExpoAR;

 * Tracking Configuration
 * Options for how ARKit constructs a scene coordinate system based on real-world device motion.
export enum TrackingConfiguration {
   * Provides high-quality AR experiences that use the rear-facing camera precisely track a device's
   * position and orientation and allow plane detection and hit testing.
  World = 'ARWorldTrackingConfiguration',
   * Provides basic AR experiences that use the rear-facing camera and track only a device's
   * orientation.