Copy to clipboard with NUXT in WebView

Viewed 19

Every i tried couple methods but the results are the same always denies permission only on android webview, IOS and PC works great
tried

navigator.clipboard.writeText(this.url);

tried this with a external component '@capacitor/clipboard'

await Clipboard.write({
          string: this.url
        });
document.execCommand('copy') //Deprecated

Always the same output

DOM ERROR write permission denied

0 Answers
Related