A mobile-based AR indoor navigation specifically designed for use on Sunway University campus. The application is intended to identify users' locations and guide them to their desired destinations by overlaying AR directions onto the real-world camera view.
Credits to: https://github.com/azesmway/react-native-unity
NOTE
This module is available only on Android devices.
-
Export Unity app to
[project_root]/unity/builds/android
-
Add the following lines to
android/settings.gradle
:include ':unityLibrary' project(':unityLibrary').projectDir=new File('..\\unity\\builds\\android\\unityLibrary')
-
Add into
android/build.gradle
allprojects { repositories { // this flatDir { dirs "${project(':unityLibrary').projectDir}/libs" } // ...
-
Add into
android/gradle.properties
unityStreamingAssets=.unity3d
-
Add strings to
android/app/src/main/res/values/strings.xml
<string name="game_view_content_description">Game view</string>
-
Remove
<intent-filter>...</intent-filter>
from<project_name>/unity/builds/android/unityLibrary/src/main/AndroidManifest.xml
at unit
NOTE
Ensure all gradle files are sync, you can do this in Android Studio.
yarn
cd android && ./gradlew clean
cd ..
yarn run android