-
Notifications
You must be signed in to change notification settings - Fork 887
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(android): enable download functionality with Android Q #310
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you adding back all of the deprecated Whitelist code?
It was removed here: 2cdb040
Remove old code
a22d77a
to
d8991bc
Compare
@erisu Removed the whitelist code - it wasn't necessary. Thanks! |
Remove old code [Android] Add support for Android API 30 and above
@erisu Hi - I've completed the suggested changes. How does it look? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Tested it in app, downloaded the home page of my website, seems to work as expected 👍
…pache#310)" This reverts commit cab8b46.
…oid Q (apache#310)"" This reverts commit c5ab8b5.
Platforms affected
Android
Motivation and Context
On Android Q and above, the download functionality does not function.
Description
This change enables use of FileOutputStream to save files into the download folder.
Testing
Without the changes, Android Q will fail to download, while on Android P and below it will work fine.
With the changes, Android Q and above will have no problems with downloads.
Issues Resolved
#300
#291
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)