react-native-easy-ardeprecated

## Getting started

Usage no npm install needed!

<script type="module">
  import reactNativeEasyAr from 'https://cdn.skypack.dev/react-native-easy-ar';
</script>

README

react-native-easy-ar

Getting started

$ npm install react-native-easy-ar --save

Mostly automatic installation

$ react-native link react-native-easy-ar

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import org.infiltech.RNEasyArPackage; to the imports at the top of the file
  • Add new RNEasyArPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-easy-ar'
    project(':react-native-easy-ar').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-easy-ar/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-easy-ar')
    

Usage

import RNEasyAr from 'react-native-easy-ar';

// TODO: What to do with the module?
RNEasyAr;