Support Home > SDK Integration > SDK – KochavaTracker Xamarin

SDK – KochavaTracker Xamarin



Our Xamarin SDK integrates easily into your iOS, Android or Windows app and supports all Mono frameworks including MonoGame.

If targeting a Windows platform directly, refer to our Windows SDK support documentation.


Minimum Requirements:

  • Android API: 9 (Recommended 14)
  • iOS Version: 8.0
  • Xcode Build Version: 8.3.0

SDK Integration

For the latest version of the Xamarin SDK, refer to the Kochava SDK repository.


  1. Add the SDK
    The typical way to include the Kochava SDK is through the Kochava Xamarin Component

    1. Right Click the Components folder in your project and Click Get More Components.
    2. Search for Kochava and Select Add to App.


  2. Add the Dependencies
    The following items are for Android only. If using iOS proceed to the Using the SDK section.

    1. (Required) Add the Google Play Services Analytics Component:
    2. (Optional) To gather location add the Google Play Services Location Component: and Check ACCESS_COARSE_LOCATION and/or ACCESS_FINE_LOCATION.
    3. (Optional) To gather email accounts check GET_ACCOUNTS.
    4. (Optional) To gather paired and connected bluetooth devices check BLUETOOTH.

Using the SDK

Once an SDK has been integrated into your project, it’s time to make use of the included classes and resources.


Initialization and Configuration:

By initializing and configuring a KochavaTracker, you are completing the basic integration with a KochavaTracker SDK. This should be done in the logic of your application where things first start up and is dependent upon your platform.

In the sample code below make sure you replace “_YOUR_APP_GUID_” with your apps App Guid from the Kochava dashboard. For more information refer to our Locating an App Guid support documentation.




The KochavaTracker Event class provides a means of defining the parameters for a post-install event, providing standardized types and key names.



See Also

The Xamarin SDK is a thin wrapper over the native Android and iOS SDKs. The reference documentation for those platforms is available for more advanced usage.



Last Modified: Oct 9, 2017 at 2:24 pm