react-native-xr-client
v0.0.9
Published
React Native XR Client
Downloads
4
Readme
React Native XR Client
React Native XR SDK Client Library
Getting started
- Add the package as dependency
$ npm install react-native-xr-client --save
- Go to
ios
folder
$ cd ios
- Install the
RNXrClient
pod
pod install
iOS
- Open the workspace from XCode
- Find the
RNXrClient
under Pods/Development Pods - Add to
RNXrClient.xcconfig
file:
FRAMEWORK_SEARCH_PATHS = $(inherited) "the/path/to/MLXRSDK"
HEADER_SEARCH_PATHS = <existing paths> "the/path/to/MLXRSDK"
Usage
import { NativeModules } from 'react-native';
const { XrClientBridge } = NativeModules;
// See index.d.ts for XrClientBridge API
Detailed Getting Started Guide
See Getting Started for detailed step-by-step instructions to set up a sample react-native project that renders ML Anchors on both Android and iOS.