qualaroo_flutter

Last updated:

0 purchases

qualaroo_flutter Image
qualaroo_flutter Images
Add to Cart

Description:

qualaroo flutter

Qualaroo #
A Flutter bridge for integrating Qualaroo mobile SDK to your mobile application.
Getting Started #
1. Add dependency #
Edit the pubspec.yaml file in your flutter directory to define the Qualaroo SDK dependency:
qualaroo_flutter: 0.0.2
copied to clipboard
2. Install #
Run the following command in your terminal after navigating to your project directory in order to download the package:
flutter pub get
copied to clipboard
3. Setup SDK #
Import Qualaroo Flutter SDK:
import 'package:qualaroo_flutter/qualaroo_flutter.dart';
copied to clipboard
For iOS

Make sure your ios/Podfile contains:

target 'Runner' do
...
use_frameworks!
pod 'Qualaroo', :git => 'https://github.com/qualaroo/ios-sdk.git', :tag => '1.14.8'
...
end
copied to clipboard

Navigate to ios directory and run pod install

Usage #
import 'package:qualaroo_flutter/qualaroo_flutter.dart';

final _qualarooFlutterPlugin = QualarooFlutter();

//In order to be able to use Qualaroo SDK you need to to initialize it first.
_qualarooFlutterPlugin.initializeQualarooSdk("<your_api_key">)

//Display survey with a given alias:
_qualarooFlutterPlugin.showSurvey("survey_alias")

//Set unique user id
_qualarooFlutterPlugin.setUserId("HAL_9000");

//Set user property "name" to "Hal"
_qualarooFlutterPlugin.setUserProperty("name", "Hal");

//remove property "name"
_qualarooFlutterPlugin.removeUserProperty("name");

//You can set preferred language that you want to use when displaying surveys.
_qualarooFlutterPlugin.setPreferredLanguage("fr")

copied to clipboard

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.