HyperTrack Xamarin SDK Setup
To use HyperTrack SDK in your Xamarin iOS app, we first need to link the hypertrack bindings dll to your Xamarin iOS . This binding is a wrapper around the native iOS SDKs.
Step 1: Install the SDK
You can download dlls of the hypertrack binding from https://github.com/hypertrack/hypertrack-xamarin/releases.
Add the dll files to the project by going to
- References -> Edit References -> Browse -> PATH_TO_HYPERTRACK_DLL
Add the following swift packages to your app
Step 2: Configure the SDK
Now that the SDK has been installed, you can use the SDK methods. Configure your publishable key and initialise the SDK.
using HTBind; HyperTrack.Initialize("YOUR_PUBLISHABLE_KEY");
Step 3: Native capabilities
Follow these steps to setup native capabilities for iOS and Android.
Step 4 : Enable location permissions
The SDK requires Location permission to be granted to the app and for Location Services to be enabled for the device.
// To request Location Permissions HyperTrack.RequestAlwaysAuthorization()