flutter_carrotquest

Last updated:

0 purchases

flutter_carrotquest Image
flutter_carrotquest Images
Add to Cart

Description:

flutter carrotquest

flutter_carrotquest #
A Carrot quest flutter plugin for Android and IOS.
Implementation #
Android #
android {

defaultConfig {
...
minSdkVersion 21
...
}
...
packagingOptions {
exclude 'META-INF/*.kotlin_module'
}
...
}
copied to clipboard
IOS #
Nothing is required
Getting Started #
import 'package:flutter_carrotquest/flutter_carrotquest.dart';
copied to clipboard
await Carrot.setup(apiKey: 'your apiKey', appId: 'your appId')
.catchError((onError) => print(onError));
copied to clipboard
// Android only
await Carrot.setDebug()
.catchError((onError) => print(onError));
copied to clipboard
await Carrot.auth(userId: 'your userId', userAuthKey: 'your userAuthKey')
.catchError((onError) => print(onError));
copied to clipboard
// Android only
await Carrot.deinit()
.catchError((onError) => print(onError));
copied to clipboard
await Carrot.openChat()
.catchError((onError) => print(onError));
copied to clipboard
// IOS only
await Carrot.setToken('your fcmToken')
.catchError((onError) => print(onError));
copied to clipboard
await Carrot.setUserProperty({'age':'28'})
.catchError((onError) => print(onError));
copied to clipboard
await Carrot.trackEvent('your eventName', eventParams: '{"your eventKey":"your eventValue"}')
.catchError((onError) => print(onError));
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

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.