Commit Graph

273 Commits

Author SHA1 Message Date
Amr Bashir
63f088e5fc
feat(cli): add --release for android dev (#6638)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #6594
2023-04-05 16:10:43 -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
d37808197d
chore(cli): only create .tauri/plugins folder on Android 2023-04-04 15:52:48 -03:00
Amr Bashir
7fec0f083c
fix(cli): use local ip addr for built-in server on mobile, closes #6454 (#6631)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix(cli): use local ip addr for built-in server on mobile, closes #6454
2023-04-04 09:59:29 -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
Amr Bashir
1487b18dcb
refactor: add useful diagnostics to tauri info (#6570)
* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* fix use_npm logic [skip ci]

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 10:23:34 -03:00
Lucas Fernandes Nogueira
54c6f158d9
chore(cli): enhance empty updater key password warning (#6558) 2023-03-31 10:13:25 -03:00
Amr Bashir
a7ee5ca7c3
fix(cli): look for available ports for built-in dev server, closes #6511 (#6514)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 10:03:38 -03:00
Lucas Fernandes Nogueira
cfdee00f2b
refactor(core): fix tls features, use rustls on mobile (#6591) 2023-03-30 10:59:08 -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
CzBiX
57c6bf07bb
fix(cli): fix default-run not deserialized (#6584)
* fix(cli): fix default-run not deserialized

* Create fix-cli-default-run.md

* Update .changes/fix-cli-default-run.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-03-29 14:43:16 -03:00
Lucas Fernandes Nogueira
6e3e4c22be
fix(cli): use correct variable on script to build Rust iOS code (#6581) 2023-03-29 11:35:18 -03:00
Lucas Fernandes Nogueira
332b3fc419
fix(cli): adjust jsonrpsee feature flags for CI (#6521) 2023-03-21 19:10:42 -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
Amr Bashir
c787f749de
fix(cli): only add -- to generated android template for npm (#6508) 2023-03-21 13:42:37 -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
6a8888dc85
refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -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
Amr Bashir
1798c5901d
feat: use start detached for emulators (#6465) 2023-03-16 22:06:14 -03:00
amrbashir
2ec736721e
chore: provide a helpful message when waiting for emulator 2023-03-16 15:00:28 +02: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
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
Amr Bashir
b7a2ce2c63
feat(cli): add --port, closes #6186 (#6283)
* feat(cli): add --dev-server-port, closes #6186

* add http:// prefix

* name it to `--port`

* rename in all places
2023-03-16 09:22:02 -03:00
Amr Bashir
4d09074454
feat(cli): add --force-ip-prompt (#6406)
* feat(cli): add `--force-ip-prompt`

* Restore tooling/cli/Cargo.lock

* Restore tooling/cli/Cargo.toml

* fix macos build
2023-03-16 09:04:09 -03:00
Amr Bashir
58d4709f7e
fix: update nodejs detection in mobile commands (#6451)
* fix: update nodejs detection in mobile commands

* changefile
2023-03-16 07:53:12 -03:00
Lucas Nogueira
2b22f64972 fix(ios): correctly use lib-name field 2023-03-15 13:43:31 -03: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
6fca895695
fix(cli): create WRY_ANDROID_KOTLIN_FILES_OUT_DIR folder 2023-02-20 13:08:55 -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
79eb054292
feat(cli): handle Android package identifier change (#6314) 2023-02-19 11:08:55 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Amr Bashir
bfa69691a5
fix(cli): detect --profile. closes #6255 (#6268) 2023-02-18 16:20:21 -03:00
Lucas Fernandes Nogueira
e8014a7f61
fix(cli): do not crash on watcher (#6303) 2023-02-17 22:06:10 -03:00
Lucas Nogueira
2b55f47c2c
fix(cli): force Cargo build logs to show on ios build 2023-02-17 10:51:03 -03:00
Amr Bashir
4a82da2919
fix(cli): use local ip address for reload (#6285)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-16 14:59:56 -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
Amr Bashir
ec007ef0d0
feat: use local_ip() and fallback to prompt (#6290) 2023-02-16 13:00:49 -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 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
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
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
62f1526592
fix(cli): generate build script using NPM runner if it was used (#6233) 2023-02-10 08:31:13 -03:00