onUpdateStatus
callback and passes an UpdateStatusModel
object as an argument. The object includes the following properties:
Property | Type | Description |
---|---|---|
isUpdateAvailable | Boolean | Whether an update is available. |
versionName | String | The name of the new version, if available. |
versionCode | Int32 | The code of the new version, if available. |
downloadUrl | String | The download URL for the new version. This link is valid for 30 minutes. |
type | String | The type of update, SOFT or HARD . |
message | String | A message to display to the player. |
fallbackUrl | String | A fallback URL for players to download the APK manually. Used in case of internal errors or update installation failures. |
fallbackMessage | String | A fallback message to display to the player. |
packageName | String | The package name of the updated version. |