-
Notifications
You must be signed in to change notification settings - Fork 121
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
fix(shorebird_code_push): downloadUpdateIfAvailable does not throw exception when download fails. #2058
Comments
4.4.4 is a very old Android version that is no longer supported by Google and only supported by Flutter on a best-effort basis. I'm not sure we can address the Permission Denied error, but we can update our package to throw an exception if a download fails. Updating the title of the issue to reflect this. |
Sounds good, this is a good solution
|
What is the minimum Android version supported by shorebird? |
We match Flutter/Google's support range: https://docs.flutter.dev/reference/supported-platforms |
Okay, I see. Thanks~ |
App ID: a06c1422-5791-4487-958f-5ce9efc6e635
Description
I downloaded a valid patch package through shorebirdCodePush.downloadUpdateIfAvailable(), but it failed to download successfully, but no exception was thrown, causing the application to think that the download was successful and execute restartApp, so the application kept downloading and restarting in a loop.
Steps To Reproduce
Expected Behavior
I want shorebirdCodePush.downloadUpdateIfAvailable() to be executed. An exception will be thrown if the download fails.
Screenshots
Additional Context
The current device is a real device and the Android version is 4.4.4
The text was updated successfully, but these errors were encountered: