magic-script / magic-script-components-react-native

MagicScript Components renderer for ARKit and ARCore
https://components.magicscript.org
Apache License 2.0
16 stars 2 forks source link
javascript magicscript

codecov JSX_CI Android_CI iOS_CI npm version npm downloads License

MagicScript Components ReactNative

Prerequisites

Make sure you have:

npm install -g magic-script-cli

 

Create a react native project

To create a sample project, type the command below and follow instructions in the wizard.

magic-script init

Remember to select:

Build and run the project

  1. Move to the root directory of the project
cd AwesomeProject
  1. To build and run the project, type:
    magic-script build ios

    or

    magic-script build android

This will build the app for the specified platform and will try to run in on a local emulator.