Commit Graph

270 Commits

Author SHA1 Message Date
Lucas Nogueira
9c324bae61
chore(examples): update tauri-plugin-log 2023-03-20 09:06:49 -03:00
Lucas Nogueira
31a205247a
chore(examples): update tauri-plugin-log 2023-03-19 08:53:03 -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 Nogueira
02b8bfb989
chore(examples): update tauri-plugin-log 2023-03-18 11:32:26 -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
88838e2898
chore(deps): update swift-rs to 1.0.3, fixing iOS simulator support 2023-03-18 10:49:22 -03:00
Lucas Nogueira
a6fea4644e
refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -03:00
Lucas Fernandes Nogueira
22c09871c3
fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast (#6476)
* fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast

See https://github.com/alexcrichton/curl-rust/pull/283

* lint [skip ci]

* update swift-rs to 1.0.2
2023-03-17 13:07:39 -03:00
Lucas Fernandes Nogueira
30e94677b0
chore(deps): pin wry to 0.27 (#6477)
* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
2023-03-17 09:23:11 -03:00
Lucas Fernandes Nogueira
dddaa943e7
refactor(core): remove attohttpc client, closes #6415 (#6468)
* refactor(core): remove attohttpc client, closes #6415

* lint [skip ci]
2023-03-17 09:09:13 -03:00
Lucas Nogueira
8241ef13e9
chore(examples): update tauri-plugin-log 2023-03-16 09:37:46 -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
4eae21ffeb
chore(examples): ignore changes on tauri-plugin-sample on dev watcher 2023-02-24 10:22:43 -03:00
Lucas Fernandes Nogueira
d11af5be8d
fix(cli): adjust iOS project to work on simulator again (#6349) 2023-02-23 18:01:17 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Fernandes Nogueira
3d16461b68
fix(core): pin time to 0.3.15 (#6312) 2023-02-19 09:02:36 -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 Nogueira
2dc71a4793
chore(android): remove unnecessary not-null assertion operator 2023-02-16 14:54:35 -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
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 Fernandes Nogueira
138cb8d739
fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:56:36 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
947eb391ca
fix(android): crash on orientation change due to activity recreation (#6261) 2023-02-13 20:20:52 -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
7258a64730
fix(android): force build script to rerun project injection on dir clear (#6249) 2023-02-13 09:50:29 -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
bfb2ab24e0
feat: add API to call iOS plugin (#6242) 2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Fernandes Nogueira
f28a181039
refactor: move Android project to the tauri crate (#6241) 2023-02-10 17:43:50 -03:00
Lucas Fernandes Nogueira
9feab904bf
feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -03:00
Amr Bashir
a81750d779
feat(core): add shadow APIs (#6206)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Lucas Nogueira
553a81f48c
feat(examples): add tauri-plugin-log to API example 2023-01-30 12:04:42 -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
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 15:42:40 -03:00
Amr Bashir
35b587c830
feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
Lucas Nogueira
d4f89af18d
feat: skip password prompt on the build command if CI is set fixes #6089 2023-01-18 23:54:30 -03:00
Amr Bashir
d4d6a98d98
fix(core): convert js Map to object before serialization, closes #6078 (#6099)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:17:01 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
276a0362de
chore(deps): update wry 2023-01-17 12:42:27 -03:00
dependabot[bot]
7aca4527e8
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/api/src-tauri (#5998)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:50 -03:00
Fabian-Lars
b08ae637a0
fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450, closes #2319 (#4674)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
luofei
2265e09718
feat(windows): implement with_tooltip (#5938)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:24:39 -03:00
Lucas Nogueira
864dfe4de5
fix(examples): use new MessageDialogButtons variant name 2022-12-30 20:15:45 -03:00