Commit Graph

97 Commits

Author SHA1 Message Date
renovate[bot]
c90ee65dbf chore(deps) Update Tauri CLI (dev) (#7630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9 refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 (#8057) 2023-10-19 10:46:04 -03:00
Lucas Fernandes Nogueira
880266a7f6 chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -03:00
Amr Bashir
a63e71f979 refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri module to primitives (#7942)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Lucas Fernandes Nogueira
d5074af562 fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56 refactor(core): custom protocol on Windows now uses the http scheme (#7779) 2023-09-07 19:57:16 -03:00
Lucas Fernandes Nogueira
fbeb5b9185 refactor(core): use webview's URI schemes for IPC (#7170)
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Fernandes Nogueira
7bbc626cc3 Merge remote-tracking branch 'origin/dev' into next (#7212) 2023-06-15 09:52:33 -03:00
Lucas Fernandes Nogueira
59db76af4c refactor(android): fix race conditions processing Android plugin project as dependency (#6968) 2023-05-16 10:22:46 -03:00
Amr Bashir
e1e85dc2a5 chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Lucas Fernandes Nogueira
d48aaa150a fix(cli): readd plugin example template Cargo.toml files (#6894) 2023-05-07 17:19:51 -07:00
Lucas Nogueira
4585a1cbb0 Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
3188f37649 feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
6d6b6e653e feat: configure escaping on handlebars templates (#6678)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-02 09:59:59 -03:00
Lucas Fernandes Nogueira
dfa407ffcb feat(mobile): add plugin config to the Plugin class (#6763) 2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
db4c9dc655 feat(core): add option to configure Android's minimum SDK version (#6651) 2023-04-07 11:21:42 -03:00
Lucas Fernandes Nogueira
5288a386f1 fix(cli): readd Cargo.toml to the plugin template (#6637) 2023-04-04 15:11:47 -03:00
Lucas Nogueira
f84fbe459f chore(cli): cherry pick #6603, fix webkit2gtk version 2023-04-03 10:01:59 -03:00
Lucas Nogueira
55900a2968 Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
Miniontoby
a926b49a01 Fix Github Actions of Tauri Plugin with-api template (#6603)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-04-03 08:12:49 -03:00
Zeeshan Ali Khan
5fdc616df9 feat: Use the zbus-backed of notify-rust (#6332)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 12:36:59 -03:00
Lucas Fernandes Nogueira
9c8276fe03 refactor(mobile): use shared .tauri folder to inject dependencies (#6495) 2023-03-19 08:51:01 -03:00
Lucas Fernandes Nogueira
56b528e481 refactor(build): change tauri-api dependency path to skip rebuilds (#6490)
* refactor(build): change tauri-api dependency path to skip rebuilds

The tauri-api Swift package cannot be injected inside the iOS plugin project because swift-rs reruns when the project folder changes. We will now inject the project in the parent folder instead.

* revert tauri-plugin-log [skip ci]
2023-03-18 11:31:11 -03:00
Lucas Fernandes Nogueira
6a8888dc85 refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -03:00
Lucas Nogueira
c88fdbca3a chore(android): remove deprecated AndroidManifest package id setter 2023-03-17 15:24:11 -03:00
Lucas Nogueira
a6fea4644e refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc feat(core): update swift-rs (#6355)
* feat(core): update swift-rs

* update tauri-plugin-log

* use env var for min iOS version

* test x86_64-apple-ios

* Revert "test x86_64-apple-ios"

This reverts commit 3ae6b79e5f.

* chore: swift min version 5.3 [skip ci]

* fix build [skip ci]

* fix cgrect usage

* test CI

* Revert "test CI"

This reverts commit 76ce0c5992.

* update swift-rs to 1.0.1

* lint

* lint [skip ci]
2023-03-16 09:34:41 -03:00
Lucas Nogueira
ed879513d3 feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Nogueira
1fd329935e Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Amr Bashir
f6c3ea6faa chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Lucas Fernandes Nogueira
897a1547a1 feat(cli): update plugin template including trait to access mobile APIs (#6293) 2023-02-17 12:12:05 -03:00
Lucas Fernandes Nogueira
6aaba83476 refactor(plugin): add PluginApi and PluginHandle, expose on setup hook (#6291) 2023-02-16 13:33:50 -03:00
Lucas Fernandes Nogueira
14d03d426e refactor(cli): enhance plugin commands for mobile (#6289) 2023-02-16 12:24:49 -03:00
Lucas Fernandes Nogueira
d42fd0710c feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
bce87c1a67 feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00
Lucas Nogueira
3d5cc7ab86 Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
65e487f344 fix(cli): adjust plugin template to use correct package name (#6258) 2023-02-13 10:54:48 -03:00
Lucas Fernandes Nogueira
bef4ef51bc feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
96b5e92169 refactor(core): inject API project on plugin's Android and iOS projects (#6246) 2023-02-12 15:29:34 -03:00
Lucas Fernandes Nogueira
05dad08768 feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Fernandes Nogueira
17f26764c8 feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Fabian-Lars
b08ae637a0 fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
Amr Bashir
0d5835d133 chore: update plugin example based on CTA (#5213)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 14:32:29 -03:00
Fabian-Lars
2d545eff58 fix(cli): corrupted icons in bundled macOS icons (#5698)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-28 08:57:32 -03:00
Lucas Fernandes Nogueira
6e879742f0 feat(ci): improve cache, add test-core features matrix (#5604) 2022-11-10 17:30:10 -03:00
Lucas Fernandes Nogueira
b41447b811 feat(ci): use Swatinem/rust-cache@v2 (#5547) 2022-11-04 18:26:30 -03:00
Lucas Fernandes Nogueira
582c25a0f0 refactor(cli): disable api-all on templates (#5538) 2022-11-03 18:57:32 -03:00
Lucas Fernandes Nogueira
7d9aa3987e feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Amr Bashir
adba73a9ff ci: migrate to the org-level token 2022-09-23 18:00:13 +02:00