react-native-ar-localizer

React Native bridge for ARLocalizer

Usage no npm install needed!

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

README

React Native AR Localizer

Introduction

React Native bridge for ARLocalizer

Installation

Simply add package to your project

yarn add react-native-ar-localizer

Usage

To use the package, you need to provide data with objects and theirs locations, check the NetguruOffices.json file from our example. Then, for example in App.tsx:

import ArLocalizerRn from "ar-localizer-rn";

// ...

React.useEffect(() => {
    ArLocalizerRn.createArView('../NetguruOffices.json');
  }, []);

Example

The app shows distance from user's current location to defined location, screenshot from android device:

Screenshot

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Installation

First step:

yarn bootstrap

Then:

yarn example ios

Or

yarn example android

Contributors

Pawel Joanna

License

MIT