0 purchases
alium sdk legacy
alium_sdk #
A wrapper around Alium's Android SDK.
Usage #
Configure the SDK with Config() #
import the alium package.
import 'package:alium_sdk/alium.dart';
copied to clipboard
Call configure method.
void main() {
runApp(const MyApp());
Alium.config("your_project_url");
}
copied to clipboard
This method should be the first method called when initializing the Alium SDK. It sets the project key or URL and must be invoked as soon as possible in your application's lifecycle.
Trigger Surveys #
Use Alium.trigger() with the screen name to display surveys.
Alium.trigger("your_screen_name");
copied to clipboard
Passing custom parameters to survey #
Alium.trigger("your_screen_name", {"dim1": "value"});
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.