Skip to content

Alexk0309/Sunway-University-Guide-React-Native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Life Guide of Sunway University

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.

Example

alt text

Installation

Unity

  1. Export Unity app to [project_root]/unity/builds/android

  2. Add the following lines to android/settings.gradle:

    include ':unityLibrary'
    project(':unityLibrary').projectDir=new File('..\\unity\\builds\\android\\unityLibrary')
  3. Add into android/build.gradle

    allprojects {
      repositories {
        // this
        flatDir {
            dirs "${project(':unityLibrary').projectDir}/libs"
        }
    // ...
  4. Add into android/gradle.properties

    unityStreamingAssets=.unity3d
  5. Add strings to android/app/src/main/res/values/strings.xml

    <string name="game_view_content_description">Game view</string>
  6. Remove <intent-filter>...</intent-filter> from <project_name>/unity/builds/android/unityLibrary/src/main/AndroidManifest.xml at unit

RN

NOTE
Ensure all gradle files are sync, you can do this in Android Studio.

yarn
cd android && ./gradlew clean
cd ..
yarn run android

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published