gpt4 book ai didi

Will in-update prompt be shown, if newer version has lower priority?(如果较新版本的优先级较低,是否会显示更新中提示?)

转载 作者:bug小助手 更新时间:2023-10-28 21:50:51 25 4
gpt4 key购买 nike



Recently, I started to use in-app update prompt library: https://developer.android.com/guide/playcore/in-app-updates.

最近,我开始使用应用内更新提示库:https://developer.android.com/guide/playcore/in-app-updates.


I wonder a case and couldn't find answer for it. My question:

我想知道一个案例,但找不到答案。我的问题:


Let's say I have these versions:

假设我有这些版本:



  • v1 with priority 0

  • v2 with priority 1


appUpdateInfo.updateAvailability() will return v2 of my app, so that I will show the prompt for the v2.

AppUpdateInfo.updateAvailability()将返回我的应用程序的v2,因此我将显示v2的提示。


Let's say I released a new version:

假设我发布了一个新版本:



  • v3 with priority 0


In that case, will appUpdateInfo.updateAvailability() still return v2 or will return true?

在这种情况下,appUpdateInfo.updateAvailability()将仍然返回v2还是将返回TRUE?


It can return true for v2. But after I released v3, v2 should not be available anymore right? So it can return false. I am not sure which is the correct one.

它可以为v2返回TRUE。但在我发布了v3之后,v2应该不再可用了,对吗?因此它可以返回FALSE。我不确定哪一个是正确的。


更多回答
优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com