navigator.share()

Limited availability

The navigator.share() method invokes the device's native sharing mechanism and passes text, links, files, and other content to share targets. Also known as the Web Share API.

Browser support (view on caniuse.com)

  • Chrome 128 Released on 2024-08-20
  • Chrome Android 61 Released on 2017-09-05
  • Edge 93 Released on 2021-09-02
  • Firefox Not supported Position Bugs: 1772948
  • Firefox for Android 79 Released on 2020-07-28
  • Safari 12.1 Released on 2019-03-25
  • Safari on iOS 12.2 Released on 2019-03-25

Baseline availability blocked since August 2024 by Firefox (27 months)

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.

MDN documentation

Specifications

Developer use cases

  • Share game result ("view of the game board") via a snapshot at the end of the game (a web app). Share game result ("view of the game board") via a snapshot at the end of the game (a web app). [see original comment]
  • I’m with Vellivex. In VRelay, tapping **Share package** passes a text package to the device’s native share sheet via `navigator.share()`, so the user can choose the destination. Our first-use tests exercise this path with fictional inputs. [Share handler](https://github.com/Vellivex/v-security-suite/blob/main/web/app.js#L68) I’m with Vellivex. In VRelay, tapping **Share package** passes a text package to the device’s native share sheet via `navigator.share()`, so the user can choose the destination. Our first-use tests exercise this path with fictional inputs. [Share handler](https://github.com/Vellivex/v-security-suite/blob/main/web/app.js#L68) [see original comment]