I have been following In-App update API in Android for quite some time now and I am unable to find any relevance of the following line:
appUpdateInfo.isUpdat
I have encountered appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.FLEXIBLE) or appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE) returning false even though update is available, when there is no network connection on my device.