Skip to content

AR application made with React-Native and DOA based system.

Notifications You must be signed in to change notification settings

ETS-ReactNative4/AR_DOA

 
 

Repository files navigation

Not maintened

AR_DOA

School Project at Bonch-Bruevich Saint Petersburg State University of Telecommunications (SPBSUT) .

Russian: Санкт-Петербургский государственный университет телекоммуникаций (СПбГУТ) .

Goal

The goal was to make an AR application who related on DOA System .

What is DOA ? You can read about it here in Russian or here in English .

Examples

On this example, the text of the application is fetched by a REST Api (provided by handle.net, you can also use doi.org).
The API request the GHR (Global Handler Registery), who request itself a LHR (Local Handler Registery).

Screenshot of the Json provided by the REST Api in our case:

RESTAPI

Demo of the fonctionnal application requesting the API of the GHR to fetch previously showed data:

ARDemo

Special thanks

Mahmood Albahri - Teacher of DOA - IoT in СПбГУТ .

СПбГУТ to grand us access to the GHR of Russia .

Install

Wanna try the app ?
See the release

The release is Android only since i don't own an Apple Developer account.

Prerequisites:

Libraries used:
ViroAR by ViroMedia

Android -> An ARCore supported device
iOS -> iOS Device with A9 chip or higher and running iOS 11 or higher

Make sure to have npm and node installed on your pc .

MACOS:
https://blog.teamtreehouse.com/install-node-js-npm-mac

LINUX:
https://blog.teamtreehouse.com/install-node-js-npm-linux

WINDOWS:
https://blog.teamtreehouse.com/install-node-js-npm-windows


This is deprecated since Viro is going open source.

Register into ViroMedia and generate a new API Key Viro
Edit App.js under your project

Edit HelloWorldSceneAR.js in the js folder, and update the _onClicked fonction to put the link of the result Json of your handler.

If you need to modify your handler manually, you can use the Handler.net tools:

http://handle.net/download_hnr.html

http://handle.net/hnr_documentation.html

http://handle.net/proxy_servlet.html

Download the ViroMedia testbed app:

iOS: https://itunes.apple.com/us/app/viro-media/id1163100576?mt=8

Android: https://play.google.com/store/apps/details?id=com.viromedia.viromedia

Now, make sure ngrok is also installed and run the command npm install .

After the installation is completed you can run npm start, the ngrok link should appear in the console. You just have to copy it to the ViroMedia testbed app.

About

AR application made with React-Native and DOA based system.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%