Smartlook

Android

iOS

React Native

Flutter

Ionic

Cordova

Unity

Unreal Engine

Cocos

Xamarin

Web
SDK Installation
AndroidiOSCocosCordovaFlutterIonicReact NativeUnityUnreal Engine 4Xamarin
SDK Conceptual
SDK API reference
SDK Cookbooks
SDK Integrations
REST API (beta)

Unity SDK Installation

Installation for Android - aar

  1. Download Smartlook Android Unity SDK v1.6.2.
  2. Put AAR file to Assets/Plugins/Android in your Unity project.
  3. Get Unity bridge from our Github repository.

Installation for Android - Gradle

In case there is a conflict with other libraries, we also released lite version of the SDK. This solution however needs to be implemented via gradle of the app itself. Steps are described below. Flow is similar to integration of our native SDK.

  1. Add Smartlook in your app’s build.gradle:
implementation 'com.smartlook.recording:app:1.6.2-unity-lite'
  1. Add Smartlook Maven repository in your projects build.gradle:
allprojects {
repositories {
maven {
url "https://sdk.smartlook.com/android/release"
}
}
}
  1. In case you are missing some of the dependencies, feel free to add:
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61'
  1. Get Unity bridge from our Github repository.

Installation for iOS

  1. Download Smartlook iOS Unity SDK v1.5.0.
  2. Unzip the archive and put SmartlookUnity.framework to Assets/Plugins/iOS in your Unity project.
  3. Get Unity bridge from our Github repository.

Unity Jar Resolver

Currently this option is still in progress - Please let us know if this is somehow blocking issue to you.

Supported versions

Currently minimal supported Android version is Jelly Bean (API 18), however video is recorded only for API 24+, analytics events and other functionality is not limited.

Smartlook Unity iOS SDK works with Metal graphics API only. OpenGL is not supported at the moment.

Start Recording

To start recording (or just to setup the SDK), you can use i.e. :

public class NewBehaviourScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
SmartlookUnity.SetupOptionsBuilder builder = new SmartlookUnity.SetupOptionsBuilder("API_KEY");
SmartlookUnity.Smartlook.SetupAndStartRecording(builder.Build());
}
// Update is called once per frame
void Update()
{
...
}
}

To setup Smartlook, you need your unique API key. This can be found in your mobile project settings in your Smartlook Dashboard.

SDK will upload sessions only on WiFi. When uploading on mobile connections is requested, too, it must be enabled in the project settings in the dashboard. More details about the recording process can be found in the Conceptual documentation.

Further Steps

All Smartlook SDK methods are documented in the Smartlook API reference.

Some advanced use-case and troubleshooting case-studies are described in the Cookbooks section of this documentation.

Issues and bugs can be reported in the issue tracker.

Concepts undelying the Smartlook functionality are descibed in the Conceptual documentation: