-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distribute crash app when close CompletedDownloadDialog #1747
Comments
@MikhailSuendukov Thank you so much |
I was able to reproduce the error and have prepared a #1750 with a fix. |
@MikhailSuendukov I have seen that PR #1751 has been merged. At the same time, see the updated changelog. But when I implement it into the source, I get an error screenshot Please support me regarding this issue. |
Hello, this pull request is а preparation for the release, the release itself is still in progress at the moment. |
Hello, we've included the fix in the latest SDK release, so we close this issue. |
Description
The application crashes while updating to a new version. In the AOS source, I use fun Distribute.checkForUpdate()
Repro Steps
Please list the steps used to reproduce your issue.
Step 1: The app update can be performed either from the login screen or from the left menu.
Step 2: Grant permissions and successfully download the update.
Step 3: If the app is in the background, a notification will appear: “DS version number (version build) has been downloaded and is ready to be installed” → The user taps on it to reopen the app (1.1).
Step 4: If the app is in the foreground, a popup will appear: “Do you want to update this app?” (1.2).
Step 5: In popup (1.1), tap the Install button, close the current popup, and open popup (1.2).
Step 6: When repeatedly closing and opening between popups (1.1) and (1.2), the app will crash.
My evidence folder
“Fatal Exception: java.lang.RuntimeException
Unable to resume activity {com.coway.catalog.seller/com.microsoft.appcenter.distribute.install.ReleaseInstallerActivity}: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Expected: AppCenter.Installer Calling: main"
Details
The text was updated successfully, but these errors were encountered: