A list of all Actions, Conditions and Expressions supported in this addon.
In App Update
-
Actions
get Update Availability
Invokes the AppUpdateManager to check for updates available in Play Store and return one of the updateAvailability codes as string:
update Flexible
Starts a flexible update process and prompts the user with a dialog to download the new version now or when Wi-Fi is available. The success callback from this method can be triggered more than once according to its status.
update Immediate
Starts an immediate update process and prompts the user with a fullscreen dialog to download now or when Wi-Fi is available. The update is downloaded and installed in the foreground, preventing the user from interacting with your app until the installation succeeds and the app is automatically restarted.
set Snackbar Options ({0}, {1}, {2}).
Sets the label and the button text for the snackbar shown after downloading a flexible update. You are free to call this method at any time. You can also call it again to show different snackbar messages after the snackbar was shown.
-
Conditions
On get Update Availability
On get Update Availability
On update Flexible
On update Flexible
On update Immediate
On update Immediate
On set Snackbar Options
On set Snackbar Options
event response
-
Expressions
Eventresponse
This is the expression description
return values
-
Expressions
Valuesupdateflexible
UPDATE_NOT_AVAILABLE || DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS || UPDATE_PROMPT || RESULT_OK || RESULT_CANCELED || RESULT_IN_APP_UPDATE_FAILED || ACTIVITY_RESULT_UNKNOWN || DOWNLOADING || DOWNLOADED
Availabilityvalues
Return values : UPDATE_AVAILABLE || UPDATE_NOT_AVAILABLE || DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS || UNKNOWN
Valuesupdateimmediate
UPDATE_NOT_AVAILABLE || DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS || RESULT_OK || RESULT_CANCELED || RESULT_IN_APP_UPDATE_FAILED || ACTIVITY_RESULT_UNKNOWN || DOWNLOADING || DOWNLOADED