Start/Stop Recording

If you want to start recording as soon as the application launches, start the session recording during the SDK initialization. Refer to the instructions here for Android & IOS.


If you want to start recording based on a user action, such as tapping a button, use the following code snippet:

import 'package:vwo_insights_flutter_sdk/vwo_insights_flutter_sdk.dart';
 
VwoFlutter.startRecording();


If you want to stop recording based on a user action, such as tapping a button, use the following code snippet:

import 'package:vwo_insights_flutter_sdk/vwo_insights_flutter_sdk.dart';
 
VwoFlutter.stopRecording();