Posts

Post not yet marked as solved
10 Replies
7.6k Views
There is an example on MDN with Webshare API: mdn.github.io/dom-examples/web-share/ On iOS 14 device (test with iPhone 7 / iOS 14.0 / Safari) it works fine only once. For the second time it throws permission error: Error: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. Here are all the steps to reproduce: Go to MDN Webshare API - https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share Find a link to Web share test in "Examples" section and open it Click "Share MDN!" button Choose one of suggested options or just close sharing popover Click on "Share MDN!" button again See the error Do you have any suggestions how to fix that? Is it a known bug?
Posted Last updated
.