To facilitate demoing common use cases, we've added some build-in features to our demo apps. Here we describe the features of IndoorAtlas Positioning App Android (Google Play) and the same for iOS.
Blue dot positioning and Wayfinding
The app shows your current position as the blue circle, the lighter blue radius depicting the current accuracy level. When you select a destination POI either from the search bar at the top or by clicking from the screen, the route to the destination appears on the floor plan.
AR Wayfinding
See this guide to setup.
The app shows route to your destination using:
- A larger compass arrow, as shown in the image below.
- As smaller arrows at route junctions
Automatically Show/Hide 2D map using Device Tilting
See example video here.
--> |
QR-Code Reading
Android Positioning app supports reading two types of QR code contents:
|
With the first option, navigation is started the POI immediately after recognizing the QR code.
With the second option, location input is fed to the IndoorAtlas SDK and then a POI search dialog is opened.
You can use any online tools to generate the QR codes with the above content.
It's also possible to use a QR code to advertise installing the app, and use the same code for starting wayfinding to a destination:
- See Video Example
- See example QR code with app install link below
Starting with Deep Links
You can use the following options when starting the app with a deep link
Android Positioning App | iOS Positioning App | Description | |
&indoorLock=true | X | X | Locks blue dot to indoors |
&positioningmode=cart | X | X | Uses cart positioning mode of the IndoorAtlas SDK |
&startInAr=true | X | Directly goes to AR view, with or without wayfinding target POI | |
&start_with_qr=true | X | Starts in QR code reading view, with camera on | |
&wayfindingtarget=[POI_UUID] | X | Starts wayfinding to the destination POI (if it's valid), either with 2D or AR wayfinding, depending on the startInAr option. | |
&debug=true | X | X | Enables Ground Truth (GT) buttons |
Geofence based Ads
Note that this feature is currently available only on the Android version.
To demonstrate geofence based advertising, add the following description as the "customer json" field to the geofence in IA Web App.
{"type":"ad","poi":"flowers_123"}
, where the flowers_123 is the name of the POI in IA Web app, from which the app attemtps to load and show the image. Note that you can upload and add images to POIs in the IA Web App.
Geofence based Alarms
Note that this feature is currently available only on the Android version.
To demonstrate actions based on geofences, we've added capability of text-to-speech to the app. When the user's position goes outside a "safety" geofence, the app triggers text-to-speech (English) with your specified text for a duration of roughly around 30s.
{"type":"alarm", "text":"You have left the safety zone, please pay attention to your safety. Thank you."}
The IndoorAtlas Positioning app will then react to the geofence like shown in the below images. When the ENTER event is triggered, the app starts playing the text.to-speech message you specified in the geofence custom payload.
When the EXIT event is triggered, the app stopplaying the text.to-speech message you specified in the geofence custom payload.
Sharing TraceId
See this guide.
Marking Ground Truth