This repository was archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 471
Add support for Web Share API #3486
Labels
Milestone
Comments
The GV bug is assigned to Dylan for Q3, but work has stalled because there are higher priority GV bugs. |
GV team plans to land the WebShare API in September (GV 71 Nightly): https://bugzilla.mozilla.org/show_bug.cgi?id=1402369 |
NotWoods
added a commit
to NotWoods/android-components
that referenced
this issue
Oct 31, 2019
NotWoods
added a commit
to NotWoods/android-components
that referenced
this issue
Nov 2, 2019
NotWoods
added a commit
to NotWoods/android-components
that referenced
this issue
Nov 2, 2019
psymoon
pushed a commit
to psymoon/android-components
that referenced
this issue
Nov 6, 2019
calvin-li
pushed a commit
to calvin-li/android-components
that referenced
this issue
Nov 8, 2019
espertus
pushed a commit
to espertus/android-components
that referenced
this issue
Nov 18, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
GeckoView will be adding a delegate for the Web Share API, which we should handle to show a native sharing prompt.
The delegate API is expected to pass data corresponding to parts of the Web Share API:
title
: optional stringtext
: optional stringurl
: optional URL stringfiles
: optional list of URIs representing files to shareAt least one of those values will be defined.
The delegate API is expected to have the following callbacks:
onDismiss
: when the share panel is dismissed or an error occurs, this will tell GeckoView to send anAbortError
to the web app.onSuccess
: when the share is complete, this will tell GeckoView to resolve the share promise.Steps that the implementation should take:
onDismiss
and abort these steps.onDismiss
and abort these steps.onDismiss
and abort these steps.onSuccess
.Spec: https://wicg.github.io/web-share/level-2/
GeckoView Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1557039
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: