<script type="module">
import situmCordovaPluginWayfinding from 'https://cdn.skypack.dev/situm-cordova-plugin-wayfinding';
</script>
README
Cordova SitumWayfinding plugin for Android and iOS
Description
Situm Wayfinding Module has been designed to create indoor location applications in the simplest way. It has been built in the top of the Situm SDK. This plugin allows you to use SitumWayfinding in your Cordova plugins.
For your iOS app you have to provide the following permissions
NSLocationAlwaysUsageDescription
A message that tells the user why the app is requesting access to the user’s location information while the app is running in the foreground.
NSLocationAlwaysUsageDescription
A message that tells the user why the app is requesting access to the user's location at all times.
NSBluetoothPeripheralUsageDescription
A message that tells the user why the app is requesting the ability to connect to Bluetooth peripherals.
NSBluetoothAlwaysUsageDescription (Only if you are targeting iOS13.0 or superior)
A message that tells the user why the app needs access to Bluetooth.
When the device ready event is fired, global cordova variable is injected in namespace. Plugins are available in this variable: plugin.situm.wayfinding.situmWayfindingPlugin. The Situm Cordova Plugin is autowired within this object.
So, all methods are called in the same way, e.g. 'load':
** IMPORTANT NOTE:** The settings parameter, as the time of writing, is only used by the Android platform. It does not create problems if they are used for the iOS platform, they will be silently ignored.
The JSDoc is avaible in both, in Situm Developers Page. and into this project docs folder. However if you want to regenerate JSDoc by yourself, you need to install Toast UI JSDoc template via npm. To do it, in the plugin root:
npm install
npm i -D tui-jsdoc-template
And then generate the documentation:
npm run jsdoc
License
SitumWayfinding is available under the MIT license. See the LICENSE file for more info.