2 - Advanced Topics
Working offline (Map Viewer)
Last Updated: 27/01/2025Situm Map Viewer functionality allows your users to view your venue cartography even if they don’t have internet access at all times. It works as follows: first, our Map Viewer downloads all the needed information (floorplans, POIs, routes…) when it has access to the internet, and after that, it can work fully offline. If you...
Working offline (positioning and raw cartography info)
Last Updated: 20/01/2025Please note! All the code snippets in this section have been provided for Android. If you use iOS, you’ll find it easy to translate them appropriately. Situm SDK downloads & stores in the local cache of the smartphone the data from Situm Platform (e.g. building data) needed to perform indoor positioning (in-phone computing feature) and...
Listen to geofence entries & exits
Last Updated: 21/03/2025Implementation Please note! All the code snippets in this section have been provided for Android. If you use iOS, you’ll find it easy to translate them appropriately. You may want to be aware of users entering and leaving the geofences of your building. In order to listen to these interactions you must implement the GeofenceListener...
Foreground & Background execution
Last Updated: 11/02/2025We usually say that an app is “sent to the background” either when the user minimizes it, when another app is shown on the screen, or even when the user blocks the smartphone. On the contrary, the app “is in the foreground” when it is the app that the user sees on the screen. Apps...
Battery efficiency
Last Updated: 20/01/2025Situm is highly optimized to consume as less battery as possible: an app with Situm’s default configuration may run for 9-12 hours before running out of battery (way more efficient than, for instance, the GPS). If this is not enough for you, Situm allows several configurations that will allow you to extend your battery life....
Location cache (quick positioning restart)
Last Updated: 20/01/2025In wayfinding applications, you may not want to keep your application positioning all the time. Imagine this situation: the user opens the map and you start positioning, then she closes it and you a stop, but just after a few seconds, she opens the app again and you need to start positioning. The problem is...
External provider locations
Last Updated: 20/01/2025You may want to use the majority of functionalities that Situm has to offer (cartography, routes, maps…), but not our positioning system. 2 typical examples: The External Provider Locations functionality allows you to do that. Instead of computing the geolocation, the SDK will rely on the ones you provide. Aside from that, everything will work...
Requesting permissions manually
Last Updated: 05/03/2025We recommend using UserHelperManager to let Situm SDK handle the request for permissions. Use this approach only if you need to request permissions manually for some reason. When to request permissions at runtime After declaring the necessary permissions (see Permissions & Error Handling) and integrating our SDK into your project, you’ll need to ask the...
How to provide your iOS app’s privacy manifest
Last Updated: 20/01/2025Context On WWDC23 Apple introduced privacy manifests, a new tool to help developers identify the privacy practices of their app’s dependencies. These Privacy Manifest should include: Situm SDK uses some of these Privacy Nutrition Labels (privacy data) and Required Reason APIs but not Tracking Domains. Starting on May 1st 2024 developers will need to declare approved...
FAQs
Last Updated: 14/01/2025Building mode vs global mode, which one should I use ? Building Mode was designed for use cases that only contain a single building for the account. This way Situm knows that there is only one building where we need to calculate the user location. To use this mode remember to obtain the identifier of...