Flutter plugin providing work with remote configs, experiments and A/B testing via Varioqub.
/// Initializing configs instance
final configs = VarioqubConfigs();
await configs.build(
const BuildSettings(client: VarioqubClient.appmetrica('XXXXXXX')), // Your AppMetrica application ID
);
/// Activation of previous configs.
/// It is recommended to activate the configuration during application startup.
await configs.activateConfig();
/// Extracting configs from Varioqub.
/// It is recommended to fetch the configuration during the application without waiting.
await configs.fetchConfig();
/// Getting the config by "FLAG" key.
await configs.getString(
key: 'FLAG',
defaultValue: 'DEFAULT_VALUE',
);
What is Varioqub? (The main website of the Varioqub project)
Refer to the Changelog to get all release notes.
This library is open for issues and pull requests. If you have ideas for improvements or bugs, the repository is open to contributions!