9 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
17e04e2b4c fix(covector): change files were added to the wrong folder (#985) 2023-07-14 11:27:23 -03:00
Lucas Fernandes Nogueira
a47e36b85a chore(deps): update tao to 0.21 (#984) 2023-07-14 18:59:47 +08:00
Jeffrey Hutchins
4ab2a45a6a feat(android): apply navigation handler to loadUrl calls (#974) 2023-06-19 15:50:33 +03:00
Jeffrey Hutchins
6b4a9586b6 feat(android): support navigation handler (#972) (#973)
* feat(android): support navigation handler (#972)

* use property

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-12 22:23:32 +08:00
Lílian
077eb3a7ca fix(android): restore asset loading functionality to android (fix: #846) (#854)
* fix(android): restore asset loading functionality to android

Implements WebViewAssetLoader to load assets from the asset folder in Android when `with_asset_loader` is called in the builder. The function also sets the desired protocol for use in `with_url`, although the url must always be `<protocol>://assets/<path>`.

Refs: #846

* docs(changes): document changes for android's fix-asset-loading patch

* Refactor to prevent additional allocation

* Fix merge conflict

* Disable default target to android

* Pass zero parameter to android fns

---------

Co-authored-by: Wu Wayne <yuweiwu@pm.me>
2023-02-07 19:28:47 +08:00
Amr Bashir
818ce9989d fix: don't panic on invalid uri (#712)
* fix: don't panic on invalid uri

* fix macos & ios
2022-09-30 13:22:52 +02:00
Lucas Fernandes Nogueira
8ec2b2ad95 fix(macos): remove IPC script message handler on drop (#700)
* fix(macos): remove IPC script message handler on drop

This prevents a segfault on the did_receive hook - a race condition when closing the webview in the middle of a IPC call. I only saw this when closing the window immediately after creating it, though it could have more cases.

* Update src/webview/wkwebview/mod.rs
2022-09-29 15:07:12 +02:00
Ngo Iok Ui (Wu Yu Wei)
427cf9222d Unify custom porotocol across Android/iOS (#546)
* Unify custom porotocol across Android/iOS

* Cargo fmt

* Update change file
2022-04-11 07:32:52 +08:00
Ngo Iok Ui (Wu Yu Wei)
ca3a4346a7 Set min macOS version to 10.12 (#206) 2021-04-26 13:59:36 +08:00