AppierFlutter class
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
Static Methods
-
configure(String appId, {String? senderId, String? appGroup, bool isDev = false})
→ Future<void>
-
Configures the SDK
-
deleteAllStoredNotifications()
→ Future<void>
-
Delete all stored notifications
-
deleteStoredNotification(int index)
→ Future<void>
-
Delete stored notifications at index
-
disableIdfaConsent()
→ Future<void>
-
Disables IDFA consent.
-
enableIdfaConsent()
→ Future<void>
-
Enables IDFA consent.
-
enableStoredNotifications()
→ Future<void>
-
Enable stored notifications
-
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>
-
-
getRecommendation(String scenarioId, {String? productId, Map<String, dynamic>? parameters})
→ Future<Map<String, dynamic>?>
-
Gets recommendation by
scenarioId
with optional productId
and
parameters
.
-
getStoredNotifications()
→ Future<List<Map<String, dynamic>>>
-
Get stored notifications
-
handleRemoteMessage(String messageString)
→ Future<void>
-
Send the remote message string
messageString
to AIQUA
-
hideInAppCampaigns()
→ Future<void>
-
Hide the in-app campaigns
-
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
-
logRecommendationClicked(String scenarioId, int modelId, String productId, String recommendationId)
→ Future<void>
-
Logs recommendation clicked by
scenarioId
, modelId
, productId
and
recommendationId
.
-
renewAppierId()
→ Future<void>
-
Regenerates
appierId
.
-
renewUserId()
→ Future<void>
-
Regenerates
userId
.
-
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
-
setCustomKey(String key, dynamic value)
→ Future<void>
-
Set any custom key for your user
-
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
-
setPhoneNumber(String phoneNo)
→ Future<void>
-
Set the phoneNumber of the user
-
setStoredNotificationsLimit(int limit)
→ Future<void>
-
Set stored notifications limit
-
setUniversalLinkDomains(List<String> linkDomains)
→ Future<void>
-
Set the Associated Domains for Universal Links
-
setUserId(String userId)
→ Future<void>
-
Set the unique user id for your users
-
setYearOfBirth(int year)
→ Future<void>
-
Set the year of DOB of the user