AppticsInAppUpdates 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
-
checkAndUpdateAlert(BuildContext context)
→ Future<void>
-
To show version update alert with respect to the configuration in web console.
@param context BuildContext
This method should be invoked after setting the theme and creating the navigator in a Flutter application.
The in-app update functionality in Flutter does not currently provide support for Material3.
-
getInAppUpdateData()
→ Future<Map<String, dynamic>?>
-
To construct a custom user interface for In-App Update,
@return Map<String, dynamic>? representing In-App Update values
This method returns three types of responses: 1. Normal update data, 2. Non-Supported OS popup data and 3. null.
You can determine the response type based on the value of the
'category'
string, where 1 represents Normal update data and 2 represents Non-Supported OS popup data.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onClickIgnore()
→ Future<void>
-
Triggers the ignore action when the "Ignore" button is clicked.
This method invokes the corresponding platform-specific implementation for handling the update action.
-
onClickNonSupportAlert()
→ Future<void>
-
Executes the necessary actions when the "Non-Supported OS" alert is clicked.
This method calls the appropriate platform-specific implementation to handle the Non-Supported OS alert action.
-
onClickReminder()
→ Future<void>
-
Triggers the reminder action when the "Reminder" button is clicked.
This method invokes the corresponding platform-specific implementation for handling the update action.
-
onClickUpdate()
→ Future<void>
-
Triggers the update action when the "Update" button is clicked.
This method invokes the corresponding platform-specific implementation for handling the update action.
-
onSendImpressionStatus(String updateId)
→ Future<void>
-
Sends the impression status for a specific
updateId
.
The update ID can be obtained from instances of AppUpdateData and AppticsAppUpdateNotSupported.
This method calls the platform-specific implementation to send the impression status with the provided update ID.
-
toString()
→ String
-
A string representation of this object.
inherited