Closed fabiendem closed 2 years ago
Hello @fabiendem , thank you for getting in touch with us! It looks like a duplicate. I will close this issue. Feel free to reopen it in case of any questions.
OK, I see now
It's a different problem. Reopened, renamed to make the case more clear
Just curious, is this being fixed by one the PRs you've recently merged? https://github.com/microsoft/appcenter-sdk-android/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Amerged
It will be in the next one, I'll link PR with this issue.
JFYI - the root problem is that android doesn't catch this event at all, so some workarounds required from our side.
Thank you. I see all your recent PRs, you're crushing it, thanks for considering the feedback we provide 🙏
The fix has been released! I'm closing the issue, but feel free to reopen if you face it again.
Description
On Android 8 (Level 26 and later), when we want to install an update, we are prompted with an alert to grant the permission to "Draw over other apps".
Piece of code at https://github.com/microsoft/appcenter-sdk-android/blob/80592335a068cdfa09c6fd684a67fed5b77c824a/sdk/appcenter-distribute/src/main/java/com/microsoft/appcenter/distribute/Distribute.java#L1631-L1687
When the alert is displayed, if the user taps on anything but the two buttons, the alert dismisses, but then the app is stuck on an alert saying "Installing...". It's not even possible to kill the app from the "recent apps" screen.
See this video:
https://user-images.githubusercontent.com/1186282/165573886-5114463b-8395-4aba-829e-eced33bd04b7.mp4
Repro Steps
Please list the steps used to reproduce your issue.
Details
AppCenter.setLogLevel(Log.VERBOSE)
before your call toAppCenter.start(...)
and include the logs here: