Geolocation & Motion Detection Settings
Kiosk Pro must be granted Locations permissions through the iOS operating system to successfully run any of the following - more information on granting app permissions is available here.
Check Location Coordinates
Location coordinates are requested from the iOS operating system. Depending available services, iOS Location Services uses a combination of cellular, Wi-Fi, and Bluetooth signals to determine your location. If using a device equipped with GPS, specifically iPads with a cellular data plan and iPhones, these signals will also be used, providing more accurate location data.
Documentation and sample code demonstrating the location variable and callback is available in the Access: Location article.
This feature allows Kiosk Pro to detect when the iPad is moved based on the iPad's accelerometer. This can be set for different levels of sensitivity from 'Very Low' to 'Very High'. The degree of sensitivity required will depend on your use case and the type of enclosure you select.
- Very High
- High (default)
- Very Low
This motion detection can be used to trigger an email alerting you that the iPad has been moved or can be used in conjunction with the Remote Management Server available for our Plus & Enterprise versions to trigger an alarm in case the movement was triggered by theft of the device. Both triggers must be configured further in app settings.
Note: These alarms are dependent on Kiosk Pro running and will not be sent once the app has been exited or if signal is lost.
Motion Detection Reset Period
This reset period allows you to control how long the iPad should wait after the accelerometer is triggered and an email is sent to internally clear the alarm and begin monitoring for a new motion event.
As Kiosk Pro will send an email each time a new motion event is triggered after the alarm is cleared, you can extend this period to reduce the number of emails sent or reduce it for finer-grained reporting.
As an example, let's say you set the reset period to 5 minutes. Once your iPad kiosk has been deployed, it will constantly monitor for movement. If it gets tipped over, the accelerometer will immediately trigger an email to the configured user. After the five minute period that you set elapses, Kiosk Pro will begin monitoring for movement again. If the iPad is still moving at this time, another email will be generated and the five minute timer restarted to begin the process again.
Retaining HTML5 Geolocation Permissions
Added in 9.3
By default in iOS, requests to HTML5's Geolocation API always generate a new permission request alert. Kiosk Pro can now automatically intercept requests to this API and respond directly using the initial Location permission granted to the app, preventing visitors from needing to respond for each request. If app level permissions have not been granted previously, the app will request these permissions and store the result.