mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
* refactor!(core): pass webview label to uri scheme protocol handlers close #10691 * Add `UriSchemeContext` * doctests
513 B
513 B
tauri
| tauri |
|---|
| patch:breaking |
Changed uri scheme protocol handler to take UriSchemeContext as first argument instead of AppHandle. UriSchemeContext can be used to access an app handle or the webview label that made the request. The following methods are affected:
tauri::Builder::register_uri_scheme_protocoltauri::Builder::register_asynchronous_uri_scheme_protocoltauri::plugin::Builder::register_uri_scheme_protocoltauri::plugin::Builder::register_asynchronous_uri_scheme_protocol