Skip to content

Conversation

@Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Mar 28, 2025

macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)

  • WebViewBuilderExtDarwin.allow_link_preview(allow_link_preview: bool)
  • WebViewBuilder.allow_link_preview(allow_link_preview: bool)
  • WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)

I personally only need this to disable link previews, so I would be fine with setting a different default for tauri (like turning it off by default). Or even always disable it and don't expose api to change it.


…g a webview (the webkit api has it enabled by default)

  -  `WebViewBuilderExtDarwin.allow_link_preview(allow_link_preview: bool)`
  -  `WebViewBuilder.allow_link_preview(allow_link_preview: bool)`
  -  `WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)`
@Simon-Laux Simon-Laux requested a review from a team as a code owner March 28, 2025 18:19
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Mar 28, 2025
@Simon-Laux Simon-Laux changed the title macOS/iOS: add option to disable or enable link previews when building a webview feat: macOS/iOS: add option to disable or enable link previews when building a webview Mar 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2025

Package Changes Through ae2e62b

There are 5 changes which include tauri-bundler with patch, tauri with minor, tauri-runtime with minor, @tauri-apps/api with patch, tauri-runtime-wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.4.1 2.4.2
tauri-bundler 2.3.1 2.3.2
tauri-runtime 2.5.1 2.6.0
tauri-runtime-wry 2.5.1 2.6.0
tauri 2.4.1 2.5.0
@tauri-apps/cli 2.4.1 2.4.2
tauri-cli 2.4.1 2.4.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit c1cd0a2 into tauri-apps:dev Apr 11, 2025
29 checks passed
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 In audit

Development

Successfully merging this pull request may close these issues.

2 participants