πŸ‘

Supported iOS and Android versions

Fully supported on iOS 13 and up.

Fully supported on Android Lollipop (API 21)

Installation of the Smartlook SDK

  1. Add Smartlook to the other dependencies in pubspec.yaml:
dependencies:
  flutter_smartlook: <<current-flutter-sdk-version>>
  1. Create Smartlook.instance.
  2. Call start(), and then setProjectKey().
import 'package:flutter_smartlook/flutter_smartlook.dart';

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final Smartlook smartlook = Smartlook.instance;
  @override
  void initState() {
    super.initState();
    smartlook.start();
    smartlook.preferences.setProjectKey('YOUR PROJECT KEY');
  }

  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
        title: 'Flutter App',
        home: HomeScreen(),
    );
  }
}

πŸ“˜

Unique project key

To setup the Smartlook SDK, you need your unique project key. You can find your project key in the mobile project settings of the Smartlook Dashboard.

  1. Smartlook can now record user sessions. Session recordings will appear in the Smartlook player shortly.

🚧

Mobile wifi connection

The Smartlook SDK uploads user sessions only when connected to wife. You can enable mobile uploading in the project settings on the dashboard. You can read more on the recording process in When recordings appear in the dashboard.

SDK update & migrations

The Migration guide describes the migration from version 1.x.x to version 2.x.x.