Files
tauri-plugins-workspace/examples/api
Amr Bashir 9ebbfb2e3c feat(http): persist cookies on disk (#1978)
* enhance(http): persist cookies on disk

closes tauri-apps/tauri#11518

* clippy

* inline reqwest_cookie_store to fix clippy

* clippy

* Update .changes/persist-cookies.md

* Update plugins/http/src/reqwest_cookie_store.rs

* update example

* fallback to empty store if failed to load

* fix example

* persist cookies immediately

* clone

* lint

* .cookies filename

* prevent race condition

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-03-17 07:26:42 -03:00
..
2023-05-05 09:41:17 -03:00
2024-11-20 00:50:02 +02:00
2023-05-05 09:41:17 -03:00
2025-03-16 21:51:48 -03:00
2023-07-19 14:50:43 -03:00
2025-03-16 21:51:48 -03:00
2023-05-05 09:41:17 -03:00
2023-05-05 09:41:17 -03:00

API example

This example demonstrates Tauri's API capabilities using the plugins from this repository. It's used as the main validation app, serving as the testbed of our development process. In the future, this app will be used on Tauri's integration tests.

App screenshot

Running the example

  • Install dependencies and build packages (Run inside of the repository root)
$ pnpm install
$ pnpm build
  • Run the app in development mode (Run inside of this folder examples/api/)
$ pnpm tauri dev
  • Build an run the release app (Run inside of this folder examples/api/)
$ pnpm tauri build
$ ./src-tauri/target/release/app