playx_version_update
library
Classes
-
ActivityNotFoundError
-
Error indicating the Android Activity required for the update is not available.
This typically happens if the app is in the background.
-
AppUpdateMangerNotFoundError
-
Error indicating the Android App Update Manager service is not available on the device.
This can happen on devices without Google Play Services or an outdated Play Store.
-
DefaultFailureError
-
A generic fallback error when a more specific error message is not available.
-
InstallApiNotAvailableError
-
The Play In-App Update API is not available on this device.
This might happen if the device doesn't support the feature or has an outdated Play Store.
-
InstallAppNotOwnedError
-
The app is not genuinely owned by any user on this device.
This typically occurs if the app was installed from an unofficial source (side-loaded APK).
-
InstallDownloadNotPresentError
-
The in-app update has not been fully downloaded yet.
For flexible updates, ensure the download is complete before attempting to install.
-
InstallInProgressError
-
An in-app update installation is already in progress.
Please wait for the current update to complete or restart the app.
-
InstallInternalError
-
An unexpected internal error occurred within the Google Play Store during installation.
Please try again later.
-
InstallInvalidRequestError
-
The update request sent by the app is malformed or invalid.
This indicates an issue with how the app requested the update.
-
InstallNotAllowedError
-
The in-app update download or installation isn't allowed right now.
This could be due to issues like low storage, low battery, device overheating,
network restrictions, or system security policies.
-
InstallPlayStoreNotFoundError
-
The Google Play Store app is either not installed or is not the official version.
-
InstallUnavailableError
-
The in-app update is unavailable for this specific user or device.
This might happen for restricted profiles or secondary users.
-
InstallUnknownError
-
Represents an unhandled or unexpected InstallErrorCode from Kotlin.
This captures any future error codes or those not explicitly mapped.
-
NotSupportedException
-
Error indicating the version check encountered an unsupported version.
-
PlatformNotSupportedError
-
Error indicating the current platform (e.g., iOS, Web) does not support the requested operation.
-
PlayxDownloadInfo
-
-
PlayxInAppUpdateCanceledError
-
Error indicating the in-app update process was explicitly cancelled by the user.
The user likely chose not to proceed with the update.
-
PlayxInAppUpdateFailedError
-
Error indicating an in-app update failed for a general, unspecified reason.
For more specific installation issues, check the
PlayxInstallError types.
-
PlayxInstallError
-
Sealed class representing specific errors that can occur during the
installation phase of an in-app update on Android.
-
PlayxUpdateDialog
-
A platform-adaptive Flutter widget that displays an update dialog.
-
PlayxUpdateOptions
-
Configuration for version checking.
-
PlayxUpdatePage
-
A full-screen Flutter widget designed to prompt users for an app update.
-
PlayxUpdateUIOptions
-
Options for customizing the user interface of Flutter-based update prompts.
-
PlayxVersionCantUpdateError
-
Error indicating the app cannot be updated because the new version is not higher than the current one.
-
PlayxVersionNetworkError
-
Represents a network-related error encountered during Playx Version Update operations.
-
PlayxVersionUpdate
-
The main entry point for the Playx Version Update package.
-
PlayxVersionUpdateError
-
Sealed class representing all possible errors that can occur during
Playx Version Update operations.
-
PlayxVersionUpdateErrorResult<T>
-
Represents an error result with an associated error.
-
PlayxVersionUpdateInfo
-
Represents comprehensive information about the app's version update status.
-
PlayxVersionUpdateResult<T>
-
-
PlayxVersionUpdateSuccessResult<T>
-
Represents a successful result with associated data.
-
Version
-
Provides immutable storage and comparison of semantic-like version numbers,
extended to handle additional numeric components and flexible parsing.
-
VersionFormatException
-
Error indicating the version string was not formatted correctly.