mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 03:47:37 +03:00
354be36d4e
* refactor!(core): pass webview label to uri scheme protocol handlers close #10691 * Add `UriSchemeContext` * doctests
513 B
513 B
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_protocol
tauri::Builder::register_asynchronous_uri_scheme_protocol
tauri::plugin::Builder::register_uri_scheme_protocol
tauri::plugin::Builder::register_asynchronous_uri_scheme_protocol