Cordova SDK Installation
- Add cordova plugin to your project using this command:
cordova plugin add cordova-plugin-smartlook
- Setup and start Smartlook on deviceready callback:
if(document.readyState === "complete") {document.addEventListener("deviceready", onDeviceReady, false);}function onDeviceReady() {Smartlook.setupAndStartRecording({smartlookAPIKey: "YOUR_API_KEY"});}
To setup Smartlook, the unique project API key is needed. It can be found in the mobile project settings in Smartlook Dashboard.
- Smartlook now starts recording the app. The recordings will appear in the Smartlook player shortly.
SDK will upload sessions only on WiFi. When uploading on mobile connections is requested, it must be enabled in the project settings in the dashboard. More details about the recording process can be found in the Conceptual documentation.
Supported versions
Current minimal supported version is Jelly Bean (API 18) for Android and 10 for iOS.
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:
- Setup & Start Recording
- How are the data recorded and uploaded to be visible in player and dashboard
- Smartlook Life Cycle in the App, Session, User
- What is recorded be Smartlook, and how
- Smartlook Life Cycle in the App, Session, User
- Handling Sensitive Data
- Screen Recording Quality
- Tracking Events and Navigation in the App
- Smartlook integration with other tools