Skip to content

UCL-SightPlusPlus/SightPlusPlus-App

Repository files navigation

AVINA Mobile App

This is the App of AVINA system. The app only works on Android for now. We recommend using it on devices with Android version under 11.0 for the best user experience. On Android 11.0 the user has to grant 'always' level permission for 'access location' in the setting page.

#Prerequisite Before using the app, please set up the location server first. The instructions can be found at:

https://github.com/UCL-SightPlusPlus/SightPlusPlus-LocationServer

Getting Started

The full instructions can be found at: https://flutter.dev/docs/get-started/install

To open the project, please download the Flutter sdk and add it to the environment PATH.

Then you have to install Android Studio and add Flutter and Dart plugin to it.

Go to pubspec.yaml and run 'flutter pub get' to download all the dependencies.

Use Android Studio to open the project, add a run configuration and set the Dart entry point to 'main.dart'.

Go to 'network_server_state.dart' and change the values in the 'connectToWifi' function.

Set up your own network, start local server under that network.

Turn on the developer mode on your phone and connect it to your laptop.

Run the app on your phone.

How to Set up Bluetooth Beacons

We recommand using beacons from 'jaalee' and using iBeacon mode. If you are not using 'jaalee' beacons, please make sure the beacons support iBeacon protocol and go to 'bluetooth_beacon_state.dart' then change the identifier in the 'initBeaconScanner' function to your identifier(s).

When configuring the Bluetooth beacons, the Minor value should be used as the beacon's id. The Major value is not used but you can assume it as the location id.

How to Get APK

Build the project and there will be a apk file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •