Commit Graph

1152 Commits

Author SHA1 Message Date
Lucas Nogueira
5bc8322f7d chore(android): simplify PermissionState code 2023-03-17 15:25:22 -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
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 Nogueira
7765bbcba1 chore(ios): use semver on SwiftRs dependency instead of git revision 2023-03-17 10:56:45 -03:00
Lucas Fernandes Nogueira
ae296f3de1 refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) 2023-03-17 10:28:28 -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
9639caf33f Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -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
8631eec038 chore(android): remove unused returnType field 2023-02-25 08:37:26 -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 Fernandes Nogueira
105fe3fa24 refactor(build): fill settings.gradle and build.gradle.kts on app build (#6342) 2023-02-22 13:57:19 -03:00
Lucas Fernandes Nogueira
1035a83187 feat(core): use camel case on mobile command name (#6340) 2023-02-22 13:55:04 -03:00
Lucas Fernandes Nogueira
9cd8735574 fix(core): properly handle command not found error (#6341) 2023-02-22 13:54:52 -03:00
Lucas Nogueira
ed879513d3 feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Nogueira
12c947632d feat(plugin): add app getter on PluginHandle 2023-02-20 15:55:25 -03:00
Lucas Fernandes Nogueira
037d488dee feat(mobile): add command member to Invoke class (#6323) 2023-02-20 13:09:30 -03:00
Lucas Fernandes Nogueira
5fdf8dcb8e fix(core): mime type of .less, .sass and .styl files (#6316) 2023-02-19 16:23:18 -03:00
Lucas Nogueira
1fd329935e Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7 fix: handle single word bundle identifier when resolving Android domain (#6313) 2023-02-19 11:12:04 -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
dffd8eb5a8 feat(android): add Plugin assetUrl function (#6299) 2023-02-17 12:44:28 -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
df5766ec2f refactor(plugin): simplify run_mobile_plugin return types (#6298) 2023-02-17 10:15:57 -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 Nogueira
f5e272b0ef chore(android): remove unused code 2023-02-15 19:01:54 -03:00
Lucas Fernandes Nogueira
ea7fd016ca feat(ios): add Logger class (#6284) 2023-02-15 18:00:18 -03:00
Lucas Fernandes Nogueira
d42fd0710c feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
1b75839701 fix(ios): properly access IPC data (#6280) 2023-02-15 10:56:04 -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
b9c303a0dc fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:57:00 -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
5ab78fcafa feat(tauri-build): enhance mobile build script 2023-02-14 14:38:01 -03:00
Lucas Nogueira
aeade94d5e fix(tauri-runtime-wry): re-export wry
Regression from the latest merge from dev
2023-02-14 14:37:50 -03:00
Lucas Nogueira
3d5cc7ab86 Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -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
98867a9680 feat(build): use swift workspace to resolve tauri dep path (#6243) 2023-02-12 10:04:14 -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 Nogueira
f379e2f3da chore: remove unused code 2023-02-10 17:46:53 -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
Lucas Fernandes Nogueira
78176edf4a fix: keep build artifacts on Android lib and plugins (#6229) 2023-02-09 13:11:31 -03:00
Lucas Fernandes Nogueira
481d9de739 refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00