Created
February 22, 2017 21:34
-
-
Save deanhume/8215074871ff2a56a85963dc202e38c3 to your computer and use it in GitHub Desktop.
Web Share API example
@rajatjasuja23 Are you using some poorly written shim for this?
I know that Chrome has the beginnings of an implementation on Desktop that opens an empty window (presumably services may be added somehow at some point, or maybe some OS integration on Windows 10). On Android, it uses the native sharing feature.
At least for Android, opening a popup window or tab just does not apply. They open in apps. If you want to open a tab or window in the browser, you're missing the entire point of the API. And the process is async (Promises), so use of navigator.share
should not interfere with any other JS unless you're using await navigator.share()
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,any idea how to call the share in new tab, for example if i click on fb or google plus then it should link to new tab ,right now its opening pop up for me which is stoping my other functionalities