Application is using immediate mode to update the application. It starts downloading the APK but after downloading the APK, it never install. UI hangs with showing download progress 100%. There is no feedback in immediate mode that download has been completed.
How to achieve download, installation and restart of app automatically for immediate mode?
I am using following mode to start the update with immediate mode.
try {
appUpdateManager.startUpdateFlowForResult(
appUpdateInfo,
AppUpdateType.IMMEDIATE,
getActivity(),
REQUEST_CODE_FOR_APP_UPDATE);
} catch (IntentSender.SendIntentException e) {
appUpdateFailed();
}