1 implementation 'com.google.android.play:core:1.10.3' 코드는 아래와 같다. 1 2 3 4 5 6 7 val updateManager = AppUpdateManagerFactory.create( this ) val updateInfo = updateManager.appUpdateInfo updateInfo.addOnSuccessListener { if (it.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE && it.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE)) { updateManager.startUpdateFlowForResult(it, AppUpdateType.IMMEDIATE, this , 1 ) } }