Skip to content

hypertrack/sdk-maui

Repository files navigation

MAUI HyperTrack SDK

GitHub NuGet iOS SDK Android SDK

HyperTrack lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons.

MAUI HyperTrack SDK is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into .NET MAUI apps.

For information about how to get started with MAUI HyperTrack SDK, please check this Guide.

Installation

Add following to your project .csproj file:

<ItemGroup>
		<PackageReference Include="HyperTrack.SDK.MAUI" Version="VERSION" />

		<!-- Workaround for MAUI bug that causes Android libraries that povide .jar to not be packed into the package -->
		<AndroidMavenLibrary Include="com.hypertrack:sdk-android-model" Version="7.11.4" Repository="https://s3-us-west-2.amazonaws.com/m2.hypertrack.com/" Bind="false" Condition="'$(TargetFramework)' == 'net9.0-android'"/>
		<AndroidMavenLibrary Include="org.jetbrains.kotlinx:kotlinx-serialization-json-jvm" Version="1.3.3" Bind="false" Condition="'$(TargetFramework)' == 'net9.0-android'"/>
		<AndroidIgnoredJavaDependency Include="org.jetbrains.kotlin:kotlin-stdlib:1.6.21" />
		<AndroidIgnoredJavaDependency Include="org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21" />
		<AndroidIgnoredJavaDependency Include="org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21" />
		<AndroidIgnoredJavaDependency Include="org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.3.3" />
</ItemGroup>

Sample code

Quickstart MAUI app

Requirements

Requirements for MAUI HyperTrack SDK

Contributing

If you want to contribute check CONTRIBUTING.md