vwo_flutter

Creator: coderz1093

Last updated:

0 purchases

vwo_flutter Image
vwo_flutter Images

Languages

Categories

Add to Cart

Description:

vwo flutter

VWO Flutter SDK #
This open source library allows you to A/B Test your Flutter app.
Requirements #

Dart sdk version >=2.12.0 <3.0.0
Flutter version >=1.20.0

Documentation #
Refer Official VWO Documentation
Basic Usage #
Instantiation
SDK provides a method to instantiate a VWO client as an instance. The method accepts an apiKey and an object to configure the VWO client.
The required parameter for instantiating the SDK is apiKey.
VWOConfig vwoConfig = VWOConfig();
if (Platform.isIOS) {
await VWO.launch(ios_apiKey, vwoConfig: vwoConfig);
} else {
await VWO.launch(android_apiKey, vwoConfig: vwoConfig);
}
copied to clipboard
Push Custom Dimension
await VWO.pushCustomDimension("CUSTOM_DIMENSION_KEY", "CUSTOM_DIMENSION_VALUE");
copied to clipboard
Get Variation Name
await VWO.getVariationNameForTestKey("campaign_key");

copied to clipboard
Get Variable Value
//get String variable value
await VWO.getStringForKey("variable_key", "default_value")

//get Integer variable value
await VWO.getIntegerForKey("variable_key", default_value)

//get Double variable value
await VWO.getDoubleForKey("variable_key", default_value)

//get Boolean variable value
await VWO.getBooleanForKey("variable_key", default_value)

//get Object variable value
await VWO.getObjectForKey("variable_key", default_value)
copied to clipboard
Trigger Goal
//custom-goal
await VWO.trackConversion("test_goal");

//revenue-goal
await VWO.trackConversion("test_goal", revenue_value);
copied to clipboard
Credentials #
This SDK requires an app key. You can sign up for an account at VWO.
Once there, you can add a new Android/iOS App, and use the generated app key in the app.
Setting up VWO account #

Sign Up for VWO account at https://vwo.com
Create a new android app from create menu
Use the app generated app key, while integrating SDK into android/iOS app.
Create and run campaigns.

Authors #

Main Contributor & Maintainer - sanyamjain65
Repo health maintainer - softvar

Changelog #
Refer CHANGELOG.md
Contributing #
Please go through our contributing guidelines
Code of Conduct #
Code of Conduct
License #
Apache License, Version 2.0
Copyright 2021 Wingify Software Pvt. Ltd.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.