Skip to content

feat: add back/forward navigation APIs (fix #1735)#1748

Open
Buncys wants to merge 2 commits into
tauri-apps:devfrom
Buncys:navigation-apis
Open

feat: add back/forward navigation APIs (fix #1735)#1748
Buncys wants to merge 2 commits into
tauri-apps:devfrom
Buncys:navigation-apis

Conversation

@Buncys

@Buncys Buncys commented Jun 9, 2026

Copy link
Copy Markdown

Summary

This PR adds back/forward navigation APIs and navigation state queries, as requested in #1735.

The following APIs were added:

  • go_back()
  • go_forward()
  • can_go_back() -> bool
  • can_go_forward() -> bool

Implementation

  • Windows (WebView2) GoBack / GoForward / CanGoBack / CanGoForward
  • macOS / iOS (WKWebView) goBack / goForward / canGoBack / canGoForward
  • Linux (WebKitGTK) go_back / go_forward / can_go_back / can_go_forward
  • Android goBack / goForward / canGoBack / canGoForward through JNI

Fixes #1735

@Buncys Buncys requested a review from a team as a code owner June 9, 2026 21:45
@Buncys Buncys force-pushed the navigation-apis branch from 7a95774 to 09641e9 Compare June 9, 2026 21:57
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 09641e9

There are 1 changes which include 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
wry 0.55.1 0.56.0

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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add navigation state APIs

1 participant