Starts session for manual session handling.
This method needs to be called for starting a session only if manual session handling is enabled by calling the 'enableManualSessionHandling' method of 'CountlyConfig'.
Set the optional salt to be used for calculating the checksum of requested data which will be sent with each request, using the &checksum field
Should be call before Countly init
End session for manual session handling.
This method needs to be called for ending a session only if manual session handling is enabled by calling the 'enableManualSessionHandling' method of 'CountlyConfig'.
Events get grouped together and are sent either every minute or after the unsent event count reaches a threshold. By default it is 10
Should be call before Countly init
Downloads widget info and returns widgetData, errorCountlyPresentableFeedback widgetInfo - identifies the specific widget for which you want to download widget data
Present a chosen feedback widget
CountlyPresentableFeedback widgetInfo - Get available list of feedback widgets by calling 'getAvailableFeedbackWidgets()' and pass the widget object as a parameter.
String closeButtonText - Text for cancel/close button.
VoidCallback? widgetShown Callback to be executed when feedback widget is displayed
VoidCallback? widgetClosed Callback to be executed when feedback widget is closed
Note: widgetClosed is only implemented for iOS
set attribution Id for campaign attribution reporting.
If this is call for iOS then 'attributionID' is IDFA
If this is call for Android then 'attributionID' is ADID
Removes all requests with a different app key in request queue.
In request queue, if there are any request whose app key is different than the current app key,
these requests will be removed from request queue.
Replaces all requests with a different app key with the current app key.
In request queue, if there are any request whose app key is different than the current app key,
these requests' app key will be replaced with the current app key.
Report widget info and do data validation
CountlyPresentableFeedback widgetInfo - identifies the specific widget for which the feedback is filled out
Map<String, dynamic> widgetData - widget data for this specific widget
Map<String, Object> widgetResult - segmentation of the filled out feedback. If this segmentation is null, it will be assumed that the survey was closed before completion and mark it appropriately
Set's the text's for the different fields in the star rating dialog. Set value null if for some field you want to keep the old value
String starRatingTextTitle - dialog's title text (Only for Android)
String starRatingTextMessage - dialog's message text
String starRatingTextDismiss - dialog's dismiss buttons text (Only for Android)
Set user location
String country_code - ISO Country code for the user's country
String city - Name of the user's city
String gpsCoordinates - comma separate lat and lng values. For example, "56.42345,123.45325"
String ipAddress - ip address
All parameters are optional, but at least one has to be set
Update session for manual session handling.
This method needs to be called for updating a session only if manual session handling is enabled by calling the 'enableManualSessionHandling' method of 'CountlyConfig'.