I have refer this link to implement but dialog not showing.
override fun onResume() {
super.onResume()
val appUpdateManager = AppUpdateManagerFactory.create(this)
appUpdateManager.appUpdateInfo
.addOnSuccessListener {
if (it.updateAvailability() == UpdateAvailability.DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS) {
// resume the update flow
appUpdateManager.startUpdateFlowForResult(
it,
IMMEDIATE,
this,
123)
}
}
}
decrease my current version and check but "addOnSuccessListener" listener not calling.