playx_version_update library

Classes

ActivityNotFoundError
Error happens when the current activity is not available like when the app is in the background.
AppUpdateMangerNotFoundError
Error happens when the App update manger is not available.
DefaultFailureError
Default failure error.
Error<T>
InternalServerErrorException
Error happens when the version check network request received internal server error.
NoInternetConnectionException
Error happens when there's no internet connection.
NotFoundError
Error happens when the package can't find the application on the store.
NotSupportedException
Error happens when the version check has unsupported version.
PlatformNotSupportedError
Error happens when the current platform doesn't support the operation.
PlayxDownloadInfo
PlayxInAppUpdateCanceledError
Error happens when the in app update was canceled .
PlayxInAppUpdateFailedError
Error happens when in app update was failed due to other error .
PlayxInAppUpdateInfoRequestCanceledError
Error happens when the request to check if update is available is canceled .
PlayxNetworkRequestCanceledError
Error happens when the version check network request was canceled.
PlayxUnknownUpdateTypeError
Error happens when in passing an unknown update type.
PlayxUpdateDialog
Dialog widget that shows material update dialog for android and Cupertino Dialog for IOS. It needs PlayxVersionUpdateInfo which contains information about the current version and the latest version. and whether the app should update of force update to the latest version. and canUpdatewhich decides whether the version needs to be updated or not. If not the widget returns SizedBox.shrink() You can customize the widget by customizing title, description,releaseNotesTitle,updateActionTitle,dismissActionTitle showReleaseNotes : show the release notes or not. If the app needs to force update The dismiss button is hidden, You can show it by setting showDismissButtonOnForceUpdate LaunchMode :Which decide the desired mode to launch the store. Support for these modes varies by platform. Platforms that do not support the requested mode may substitute another mode. See launchUrl for more details. It also provides callback functions for when user click on update or dismiss.
PlayxUpdateNotAllowedError
Error happens when in app update is not allowed .
PlayxUpdateNotAvailableError
Error happens when in app update is not available .
PlayxUpdatePage
PlayxVersionCantUpdateError
Error happens when the version check the app can't update because new version is below or the same as current one.
PlayxVersionUpdate
PlayxVersionUpdateError
PlayxVersionUpdateInfo
PlayxVersionUpdateResult<T>
Generic Wrapper class for the PlayxVersionResult of any type.
RequestTimeoutException
Error happens when the version check network request received request timeout error.
SendTimeoutException
Error happens when the version check network request had timeout.
ServiceUnavailableException
Error happens when the version check network request received unavailable service error.
Success<T>
VersionFormatException
Error happens when the version was not formatted correctly.

Constants

defaultFailureErrorCode → const String