Skip to content

magic-script/react-native-xr-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

React Native XR Client

React Native XR SDK Client Library

Getting started

  1. Add the package as dependency
$ npm install react-native-xr-client --save
  1. Go to ios folder
$ cd ios
  1. Install the RNXrClient pod
pod install

iOS

  1. Open the workspace from XCode
  2. Find the RNXrClient under Pods/Development Pods
  3. Add to RNXrClient.xcconfig file:
FRAMEWORK_SEARCH_PATHS = $(inherited) "the/path/to/MLXRSDK"
HEADER_SEARCH_PATHS = <existing paths> "the/path/to/MLXRSDK"

Usage

import { XrClientProvider } from 'magic-script-components';

const xrClient = XrClientProvider.getXrClient();

// See magic-script-components/XrClientBridge.d.ts for full 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.

About

React Native XR SDK Client Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •