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.
-
Ionic installation : https://ionicframework.com/docs/intro/installation/
-
Initialize project:
npm install
ionic cordova prepare android
- 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 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 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 from command line:
$ ionic cordova run ios
-
Run from Xcode: Go to platforms/ios folder and open
Situm Cordova Getting Started.xcworkspace