Appier class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- Aiqua → AiquaSDK
-
final
Static Methods
-
configure(
Map< String, dynamic> config) → Future<void> - Configures the SDK senderId is used in Andriod appGroup is used in iOS. It will help to share data between app target and extensions. App Group is 'Required' to log events from extension and also to track certain events from the rich push notification.
-
disableIdfaConsent(
) → Future< void> - Disables IDFA consent.
-
enableIdfaConsent(
) → Future< void> - Enables IDFA consent.
-
enableWebSdkBridge(
{InAppWebViewController? inAppWebViewController}) → Future< void> - Eanbles Web SDK bridge to web views.
-
flush(
) → Future< void> - Immediately uploads queued data to the Appier server
-
getAppierId(
) → Future< String> -
Get
appierId
. -
getDataTrackingConfig(
) → Future< DataTrackingConfig> -
handlePushMessage(
String messageString) → Future< void> -
Send the remote message string
messageString
to AIQUA -
handleUriOpened(
String uriString) → Future< void> -
isAppierPush(
String messageString) → Future< bool> - Check if the remote message is from AIQUA
-
logEvent(
String eventName, {Map< String, dynamic> ? parameters, double? vts, String? vtsCurr}) → Future<void> - Sends any event in your app to the Appier server
-
renewAppierId(
) → Future< void> -
Regenerates
appierId
. -
setApnsToken(
String token) → Future< void> - Set the Apple Push Notification service (APNS) token.
-
setAttributionWindow(
int seconds) → Future< void> - Sets the View Through Attribution Window for event attribution
-
setCity(
String city) → Future< void> - Set the city of the user
-
setClickAttributionWindow(
int seconds) → Future< void> - Sets the Click Through Attribution Window for event attribution
-
setDataTrackingConfig(
DataTrackingConfig config) → Future< void> -
setDayOfBirth(
int day) → Future< void> - Set the day of DOB of the user
-
setEmail(
String email) → Future< void> - Set the email of the user
-
setFcmToken(
String token) → Future< void> - Set Firebase Cloud Messaging token.
-
setFirstName(
String firstName) → Future< void> - Set the firstName of the user
-
setLastName(
String lastName) → Future< void> - Set the lastName of the user
-
setMonthOfBirth(
int month) → Future< void> - Set the month of DOB of the user
-
setName(
String name) → Future< void> - Set the name of the user
-
setNotificationListener(
AppierNotificationListener listener) → Future< void> -
setPhoneNumber(
String phoneNo) → Future< void> - Set the phoneNumber of the user
-
setUniversalLinkDomains(
List< String> linkDomains) → Future<void> - Set the Associated Domains for Universal Links
-
setUserAttribute(
String key, dynamic value) → Future< void> - Set any custom key for your user
-
setUserId(
String userId) → Future< void> - Set the unique user id for your users
-
setUtmCampaign(
String utmCampaign) → Future< void> -
setUtmContent(
String utmContent) → Future< void> -
setUtmMedium(
String utmMedium) → Future< void> -
setUtmSource(
String utmSource) → Future< void> -
setUtmTerm(
String setUtmTerm) → Future< void> -
setYearOfBirth(
int year) → Future< void> - Set the year of DOB of the user