Commit Graph

144 Commits

Author SHA1 Message Date
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
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -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
Amr Bashir
19cd0e4960
feat: add key.properties to android gitignore (#6811) 2023-04-27 16:04:53 +02:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Lucas Fernandes Nogueira
d693e526e8
feat(android): add onNewIntent plugin hook (#6780) 2023-04-23 19:59:46 -03:00
Amr Bashir
31444ac196
chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837
refactor(core): use absolute path for the tauri Android library (#6774) 2023-04-23 15:40:47 -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
ee2d3b971d
fix(cli): remove buildSrc from Android project gitignored paths (#6702) 2023-04-13 19:29:18 -03:00
Lucas Nogueira
a8153b9ff4
chore(cli): gitignore iOS Externals folder 2023-04-07 21:03:26 -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
Amr Bashir
d03e47d141
fix: only build specified rust targets for aab/apk build (#6625)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Nogueira
ec7d24b1ac
chore(cli): update Android template gitignore files 2023-04-04 15:46:16 -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
Amr Bashir
39df2c982e
fix(cli/android): fallback to ${program}.cmd (#6576)
* fix(cli/android): fallback to `${program}.cmd`

* cleanup [skip ci]

* revert variable to tauri-binary [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 14:44:19 -03:00
Lucas Fernandes Nogueira
00241fa92d
fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 (#6503) 2023-03-21 13:43:09 -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
Bo
1b343bd116
fix(cli): use npm run tauri -- foo for correctly passing args to tauri (#6448)
* fix(cli): use `npm run tauri -- foo` for correctly pass args to tauri

* fix xcode-script current dir, GCC_PREPROCESSOR_DEFINITIONS optional

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-16 09:27:40 -03:00
Lucas Nogueira
2b22f64972 fix(ios): correctly use lib-name field 2023-03-15 13:43:31 -03:00
Amr Bashir
d1752fb1f6
fix(cli): use correct lib name in xcode project (#6387) 2023-03-08 16:19:37 +01:00
Lucas Fernandes Nogueira
971ad7ae06
fix(cli): fix template and Xcode script to work when running with Xcode (#6350) 2023-02-24 10:22:59 -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
c4cb609bcd
chore(cli): update iOS template comments 2023-02-23 14:37:01 -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
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
677554257e
feat(cli): add --ios-color option to set iOS icon background color (#6247) 2023-02-12 15:29:43 -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