Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

An authoring tool that allows creating context-aware games using Situm for indoor positioning.

License

Notifications You must be signed in to change notification settings

francoborrelli/situm-authoring-tool

Repository files navigation

Situm Authoring tool

Ionic Firebase Android iOS

inciscos enfoque

📄 Description

Note

This app is only a use-case for testing purposes. It may not be up to date or optimized.

An authoring tool that allows creating context-aware games using Situm for indoor positioning.

🛠️ Requirements

Ionic Android Studio Xcode

🚀 Usage

  1. Ionic installation : https://ionicframework.com/docs/intro/installation/

  2. Initialize project:

npm install
ionic cordova prepare android
  1. Link development plugin folder:
  $ cd situm-cordova-getting-started
  $ cordova plugin add --link <path_to_plugin_folder>/situm-cordova-plugin/

Before launching the application it is necessary to cover the credentials in the src/services/situm.ts file.

So, config.xml file should contain one line like this:

<plugin name="situm-cordova-plugin" spec="file:../situm-cordova-plugin" />

⚡ Firebase Configuration

Firebase configuration file can be found it src/firebaseConfig.ts. In order to define a new firebase project you should go to https://console.firebase.google.com/ and:

  • Create a new project.

  • Register a web project.

  • Copy the given credentials to src/firebaseConfig.ts.

🤖 Run Android version

  • Run from command line: $ ionic cordova run android -l --ssl

  • Run from Android Studio: Go to plaftforms/android folder. Create android studio project and run MainActivity class

🍎 Run iOS version

  • Run from command line: $ ionic cordova run ios

  • Run from Xcode: Go to platforms/ios folder and open Situm Cordova Getting Started.xcworkspace

📲 Images