Installation

Latest SDK version is 2.2.1

The library is published in pub.dev. You can check it here.


To install it, run the command below.

$ flutter pub add vwo_insights_flutter_sdk

This will add a line like the one below to your package's pubspec.yaml file. Use the latest SDK version for new features and improvements.

dependencies:
vwo_insights_flutter_sdk: 2.2.1


Now, run the command below to fetch all dependencies.

$ flutter pub get


Flutter Impeller compatibility

From Flutter 3.27 onwards, Impeller is the default rendering engine on Android (API 29+) and has been default on iOS since Flutter 3.10. Impeller precompiles shaders at build time and uses Vulkan (Android) or Metal (iOS), which can affect compatibility with some native SDKs.

To avoid issues with Wingify Insights on Flutter apps using Impeller:

  1. Use the latest Wingify Insights Flutter SDK — update to the newest version that supports Impeller.
  2. Android only: Call VWOInsights.enableFlutterPerformanceMode() before VWOInsights.init() (see Application class).
  3. Release builds: Add the required ProGuard rules so the SDK and Flutter embedding are not stripped (see ProGuard (release builds)).