microsoft / appcenter-sdk-android

Development repository for the App Center SDK for Android
Other
277 stars 134 forks source link

Fix checking a new release #1595

Closed AnastasiaKubova closed 2 years ago

AnastasiaKubova commented 2 years ago

Please have a look at our guidelines for contributions and consider the following before you submit the PR:

Description

Repro steps:

  1. Build the current app (v1.0) and distribute it from within the App Center
  2. Download the app from the App Center (v1.0), then install it
  3. Build and distribute another update (v1.1)
  4. Open the app (v1.0), it would detect the update, then install it, this process will work fine
  5. Build and distribute another update (v1.2)
  6. Open the app(v1.1), the app won't detect the update, at this point any other updates won't be detected by the app. However, if I uninstall the currently installed app, then redownload the app (v1.1) from within the App Center, the app would detect the update (v1.2) with no issues.

Expected A new release should be detected and SDK should show an in-app update dialog.

Actual A new release isn't detected and SDK doesn't show an in-app update dialog.

Related PRs or issues

AB#89876

1594