Xamarin and Unity SDK

Supported Platforms

SDK TypeDevice Support
Xamarin Nativeβœ… - iOS
βœ… - Android
Xamarin Formsβœ… - iOS
βœ… - Android
βœ… - UWP
Unityβœ… - iOS
βœ… - Android

Prerequisites

  • Visual Studio, v. 2019 or later
  • JetBrains Rider, or any C# supported IDE
  • .NET 2.0 if deploying UWP (Universal Windows Platform)

Tech Stack Overview

Xamarin

SpecificationsDetails
Language VersionC#
Desktop OSWindows, Mac
Build DependenciesXamarin framework
JSON.net by NewtonSoft [For Xamarin SDK]
Certified iOS VersioniOS 15
iOS 14
iOS 13
iOS 12
Certified Android VersionAPI 28 - 31
Supported iOS VersioniOS 11+
Supported iOS DevicesiPhone 5S+
iPadOS 12+
SDK Size~1MB
Compression ToolsNot compressed
External Dependencies, 3rd Party Frameworks, and SDK Libraries/ComponentsJSON.net by NewtonSoft
Knockout.js
EncryptionN/A

Unity

Language VersionC#
Desktop OSWindows, Mac
Build DependenciesN/A
Certified iOS VersioniOS 11 +
Supported iOS VersioniOS 11+
Supported iOS DevicesiPhone 5S+
SDK Size0.5 MB
Compression ToolsNot compressed
External Dependencies, 3rd Party Frameworks, and SDK Libraries/ComponentsNewtonSoft
EncryptionN/A
Support Unity VersionsUnity 2020, Unity 2021

SDK Size

Xamarin

FolderUncompressed File Size
OneTrust_CMP_Xamarin_DLL139K
Xamarin-Forms5.8 MB
Xamarin-Forms-With-UI1 MB
Xamarin-Native1.9 MB

Unity

FolderUncompressed File Size
OneTrust1.3 MB
StreamingAssets0.2 MB

Frequently Asked Questions (FAQ)

The following responses are supported solutions to frequently asked questions (FAQ) about the Xamarin and Unity SDK. The OneTrust team continuously monitors these inquiries and will make additional FAQ available as they are identified.

  1. Why is the imported Newtonsoft.Json.dll conflicting with other packages in my Unity project?
    The most common conflict is with the Version Control package from Unity. We recommend that you update your Version Control package to 1.15.12 or newer to solve the problem. (Unity fixed this conflict with Newtonsoft packages on 2022-01-27).
  2. Why am I getting the following error 2019-12-12 12:10:47.867830+0200 (...) [Process] kill() returned unexpected error 1in Xcode?
    This is a WebKit Bug affecting iOS versions 13.2-13.3. OneTrust recommends that you stay under or above the affected versions to prevent this bug.