What purpose does appUpdateInfo.isUpdateTypeAllowed (AppUpdateType.IMMEDIATE) serve in Android In-App Update API?

后端 未结 4 1963
情歌与酒
情歌与酒 2020-12-31 04:54

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         


        
4条回答
  •  被撕碎了的回忆
    2020-12-31 05:05

    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.

提交回复
热议问题