-
Notifications
You must be signed in to change notification settings - Fork 574
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
Filename for downloads #66
Comments
Okeee, found out that if i change the first filename in the code it downloads but with the filename i provided.
but how do i change this so that it gets the filename from the server? |
Thanks for your question! Glad you've figured out the solution to your original problem already. The code that you copied from the README was indeed not complete yet. The variable declaration for the Regarding your new question, i.e. how to determine the filename, you got this right as well: Currently, the intended solution is that you hard-code the filename as you did or build the filename with some conditional structures, etc. If you want this to work automatically, #32 is probably related. The Hope that helps! If it works, we can add that feature to this library natively. |
Heey, I've found the solution to my problem:
|
Yes, that's what we proposed. Thanks for testing! Built-in support for this has been added in d5cb1e5 now. In order to use this, just update the dependency as shown in the README and follow the migration guide from |
Hello,
I've added this webview to my project only there is one thing that doesn't work.
When I try to add the download section in my activity the second filename turns red??
The word filename gets red in the next part: (this, url, filename)) {
The text was updated successfully, but these errors were encountered: