
Enables seamless update checking in Jetpack Compose applications, simplifying the process for ensuring users have the latest features. Supports both Android and iOS platforms.
The Compose Check For Update package provides a seamless solution for implementing update checking functionality in Jetpack Compose applications on both Android and iOS platforms. This package simplifies the process of checking for app updates, ensuring that users always have access to the latest features and improvements.
Available on mavenCentral().
Includes CheckForUpdateDialog composable and the core update logic.
implementation("io.github.the-best-is-best:compose-check-for-update:2.0.0")Use this if you only need the update check logic without the Compose dialog UI.
implementation("io.github.the-best-is-best:kmm-check-for-update:2.0.0")You need to install KUpdater via Swift Package Manager (SPM):
IOSCheckForUpdate.init(
isTestFlight = false, // optional, default false (use true for TestFlight builds)
authorization = null, // required when isTestFlight is true
countryCode = null,
appStoreId = null // required when isTestFlight is true
)AndroidCheckForUpdate.initialization(this)
// for compose
ComposeCheckForUpdate.initialization(this)
LaunchedEffect(Unit) {
val isUpdateAvailable = ComposeCheckForUpdate.isUpdateAvailable()
if (isUpdateAvailable) {
// Show update dialog or navigate to store
}
}if (isUpdateAvailable) {
CheckForUpdateDialog(
forceUpdate = true,
title = "Update Here", // optional, default is "Update Available"
message = "A new update please update now to continue"
// forceUpdate = true β "A new update is required to continue using this app."
// forceUpdate = false β "A new update is available. Would you like to update now?"
)
}The Compose Check For Update package provides a seamless solution for implementing update checking functionality in Jetpack Compose applications on both Android and iOS platforms. This package simplifies the process of checking for app updates, ensuring that users always have access to the latest features and improvements.
Available on mavenCentral().
Includes CheckForUpdateDialog composable and the core update logic.
implementation("io.github.the-best-is-best:compose-check-for-update:2.0.0")Use this if you only need the update check logic without the Compose dialog UI.
implementation("io.github.the-best-is-best:kmm-check-for-update:2.0.0")You need to install KUpdater via Swift Package Manager (SPM):
IOSCheckForUpdate.init(
isTestFlight = false, // optional, default false (use true for TestFlight builds)
authorization = null, // required when isTestFlight is true
countryCode = null,
appStoreId = null // required when isTestFlight is true
)AndroidCheckForUpdate.initialization(this)
// for compose
ComposeCheckForUpdate.initialization(this)
LaunchedEffect(Unit) {
val isUpdateAvailable = ComposeCheckForUpdate.isUpdateAvailable()
if (isUpdateAvailable) {
// Show update dialog or navigate to store
}
}if (isUpdateAvailable) {
CheckForUpdateDialog(
forceUpdate = true,
title = "Update Here", // optional, default is "Update Available"
message = "A new update please update now to continue"
// forceUpdate = true β "A new update is required to continue using this app."
// forceUpdate = false β "A new update is available. Would you like to update now?"
)
}