We're updating the issue view to help you get more done. 

Add support to upload and download files in webview

Description

  1.  

    1.  

      1. Description
        This pull request allows to upload and download files in web-view components.

  1.  

    1.  

      1. Testing
        1. Add the following code in a raw html component
        ```
        <form action="/action_page.php">
        Select a file: <input type="file" name="myFile"><br><br>
        </form>

<a href="https://cdn.pixabay.com/photo/2017/09/25/13/12/dog-2785074_960_720.jpg" download>
<img src="https://cdn.pixabay.com/photo/2017/09/25/13/12/dog-2785074_960_720.jpg" alt="image" width="50%" height="29%">
</a>
```
2. Open the app and go to the component.
3. click on choose file (This should open a the file chooser)
4. click on the image (This should download the image)

![Peek 2019-06-11 18-09](https://user-images.githubusercontent.com/36200299/59312848-397b7d00-8c74-11e9-8b82-95a3fbf89470.gif)

  1.  

    1.  

      1. Possible Reviewers
        @miankhalid
        @farhan
        @farhan-arshad-dev

Status

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Andrey Cañon

Repo

edx/edx-app-android

PR Number

1,305

Customer

Course

None

OSCM Assignee

None

Github Latest Action

pull_request: review_requested

Github Latest Action by edX

Yes

Github PR Last Updated At

Aug 16, 2019, 6:09 PM

Github PR Last Updated By

natabene

Impacted Users (OSPR)

None

Impacted Environments (OSPR)

None

Feature Control (OSPR)

None

Priority

Unset