我如何验证用户是否有 Google Play 中的最后更新
How can I verify if user have the last update in Google Play
我必须做什么来验证用户在 Google Play 上是否拥有我的应用程序的最新版本。如果用户没有最后一个我会让他下载。
您可以使用 in-app-updates 更新您的应用程序(但此 支持 API 21 岁及以上 )
Supporting API level 21 and above, the Play Core library now allows us to offer in-app updates to our users — meaning we can show that an app update is available whilst the user is within the context of our application
如果你想强制用户更新应用程序,你可以使用 Immediate
类型更新
A full screen user experience that requires the user to update and restart the app in order to continue using the app. This UX is best for cases where an update is critical for continued use of the app. After a user accepts an immediate update, Google Play handles the update installation and app restart.
如果您的应用满足 API 级别(即最低 SDK 为 21),请按照此 guideline 使用 in-app-updates
我必须做什么来验证用户在 Google Play 上是否拥有我的应用程序的最新版本。如果用户没有最后一个我会让他下载。
您可以使用 in-app-updates 更新您的应用程序(但此 支持 API 21 岁及以上 )
Supporting API level 21 and above, the Play Core library now allows us to offer in-app updates to our users — meaning we can show that an app update is available whilst the user is within the context of our application
如果你想强制用户更新应用程序,你可以使用 Immediate
类型更新
A full screen user experience that requires the user to update and restart the app in order to continue using the app. This UX is best for cases where an update is critical for continued use of the app. After a user accepts an immediate update, Google Play handles the update installation and app restart.
如果您的应用满足 API 级别(即最低 SDK 为 21),请按照此 guideline 使用 in-app-updates