Skip to content
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

WebView (Android): download ability #1436

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

mortend
Copy link
Member

@mortend mortend commented Jan 25, 2022

This makes it possible to download files when using WebView on Android.

Two new Uno events are added to the WebView class in order to process
downloaded files:

  • BeginDownload(WebView sender, DownloadEventArgs args)
  • FileDownloaded(WebView sender, DownloadEventArgs args)

It might be possible to access the events from JavaScript, but this has
not yet been explored.

Downloaded files can also be found using a File Manager app.

This PR contains:

  • Changelog
  • Documentation
  • Tests

This makes it possible to download files when using WebView on Android.

Two new Uno events are added to the WebView class in order to process
downloaded files:

  * BeginDownload(WebView sender, DownloadEventArgs args)
  * FileDownloaded(WebView sender, DownloadEventArgs args)

It might be possible to access the events from JavaScript, but this has
not yet been explored.

Downloaded files can also be found using a File Manager app.
@mortend mortend merged commit a899c24 into fuse-open:master Jan 27, 2022
@mortend mortend deleted the webview-download branch January 27, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant