Lucas Fernandes Nogueira
83ed090bfa
fix(cli): do not exit mobile dev if logger could not be attached ( #10790 )
...
I just faced this when I was connected to my iPhone but wireless. Xcode also lets this happen, you only miss the logs in this case.
2024-08-27 12:05:32 -03:00
Lucas Fernandes Nogueira
fd68b7fdea
fix(cli): do not generate .cargo/config file ( #10785 )
2024-08-26 22:15:08 -03:00
Lucas Fernandes Nogueira
793ee05317
fix(core): allow hyphens and underscores on identifiers, closes #9707 ( #10700 )
...
* fix(core): allow hyphens and underscores on identifiers, closes #9707
* fix build
* fix build
* lint
* move replace
* update tao
* update tao-macros
2024-08-21 13:46:25 -03:00
Lucas Fernandes Nogueira
da381e07f3
feat(core): resources on mobile apps ( #10696 )
...
* feat(core): resources on mobile apps
* resources dir on android
2024-08-20 13:49:17 -03:00
Lucas Fernandes Nogueira
9f75d06228
fix(cli): adb port forward error handling, add logs, closes #9509 ( #10604 )
2024-08-13 22:07:02 -03:00
Lucas Fernandes Nogueira
f4cd68f040
fix(cli): builtin dev server should also be forwarded for Android ( #10600 )
2024-08-13 21:11:01 -03:00
Sam Kearney
2d47352a07
fix(cli): make app_dir() logic consistent ( #10418 )
...
* fix(cli): Make app_dir() consistent by basing it on the explicit invocation directory rather than the current working directory
* resolve app paths before everything else
* fix xcode script
* fix test
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 09:44:15 -03:00
Lucas Fernandes Nogueira
ca68689564
feat(cli): check if project identifier or lib name changed ( #10479 )
...
* feat(cli): check if project identifier changed
* implement ios check
* also check lib name
* clippy
* ensure_init from xcode-script
* fill change file [skip ci]
2024-08-05 09:45:18 -03:00
Lucas Fernandes Nogueira
fb1933f174
fix(cli): android dev --open failing due to adb not finding device ( #10467 )
2024-08-03 10:04:26 -03:00
Lucas Fernandes Nogueira
206914fe8d
fix(cli): adb reverse failing in Node.js ( #10466 )
2024-08-03 09:47:50 -03:00
Lucas Fernandes Nogueira
786f188923
feat(cli): allow using iOS device tun address for dev server ( #10456 )
...
- Changes the IP prompt to also show IPV6 address ending with ::2 (usually device's address)
- Adds --host option on ios dev to force the host
- Also makes it work with our own dev server impl (builtin)
2024-08-02 10:04:08 -03:00
Lucas Fernandes Nogueira
7ba67b4aca
refactor!: use localhost for development on Android devices and emulators or iOS simulators ( #10437 )
...
* feat(cli): use localhost on mobile!
* change cargo-mobile2
* use public network address on iOS device :(
* add change file
* actually breaking
* pin cargo-mobile2
* rename env var
2024-08-02 07:35:18 -03:00
Lucas Fernandes Nogueira
289ae5555d
feat: re-enable TLS checks for Android and dev proxy ( #10386 )
...
* feat: re-enable TLS checks for Android and dev proxy
* update time
2024-07-29 10:43:59 -03:00
Amr Bashir
caec19fce3
chore(deps): remove unused deps from cli ( #9711 )
...
* chore(deps): remove unused deps from cli
* fix mac build
* clippy
2024-05-09 23:35:02 +03:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol instead of relying on user having custom-protocol in their cargo features ( #8937 )
...
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features
* tauri-build dev cfg
* pass build-feature when building apk
* run beforeBuildCommand before first build for plugins
* clippy
* fix
* mut
* enhance dev/prod checks
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-26 15:17:45 -03:00
Lucas Fernandes Nogueira
fb0d997117
fix(cli): regression on --config not accepting file paths ( #8783 )
...
* fix(cli): regression on --config not accepting file paths
* enhance dev server config parsing
* use serde_json::json!
* pass config to setup
2024-02-07 17:08:05 +02:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085 .
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
e691208e7b
fix(cli): prevent creating interface twice avoiding double manifest rewrite ( #7837 )
2024-02-02 21:43:33 -03:00
Amr Bashir
8b166e9bf8
refactor!: consistent environment variables ( #7949 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-10-17 09:17:02 -03:00
Amr Bashir
2fe8782ad4
refactor: enhance the descriptions of CLI commands, closes #7572 ( #7952 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-10-16 09:44:23 -03:00
Amr Bashir
1c9f3db916
chore: change tauri-mobile to cargo-mobile2 ( #7953 )
2023-10-05 19:30:56 +00:00
i-c-b
100d9ede35
fix(core): Correctly detect Android Tauri configuration file, closes #7785 ( #7802 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-09-12 13:18:23 -03:00
Lucas Fernandes Nogueira
964282a267
fix(cli): migration tests ( #7745 )
2023-09-06 13:43:17 -03:00
Lucas Fernandes Nogueira
6252380f44
fix(cli): kill beforeDevCommand process if mobile dev command fails ( #7241 )
2023-06-17 14:10:01 -03:00
Amr Bashir
1ed2600da6
fix(cli): set current dir to tauri dir before reading config, closes #6771 ( #6782 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
fix(cli): set current dir to tauri dir before reading config, closes #6771
2023-05-26 13:45:20 -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
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
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next
2023-03-16 09:51:07 -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
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 Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins ( #6205 )
2023-02-11 10:30:44 -03:00
Lucas Fernandes Nogueira
da57e7c087
fix(cli): use Target::build to run initial Android build ( #6220 )
2023-02-09 14:50:23 -03:00
Lucas Fernandes Nogueira
f2da21c7b4
refactor(cli): use environment variables instead of .config/cargo ( #6230 )
2023-02-09 13:11:02 -03:00
Lucas Fernandes Nogueira
894a8d060c
refactor(cli): use temp file to communicate IPC websocket address ( #6219 )
2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins ( #6167 )
2023-02-06 08:56:00 -03:00
Lucas Nogueira
8835633955
fix(cli): do not prompt for device when --open is provided
2023-01-26 12:33:52 -03:00
Lucas Fernandes Nogueira
1af9be904a
feat(cli): properly fill target for TAURI_ env vars on mobile ( #6116 )
2023-01-23 18:26:13 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings
2022-12-15 17:56:23 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -03:00
Lucas Nogueira
c1cd0f5253
chore(deps): rename cargo-mobile to tauri-mobile
2022-12-06 09:19:04 -03:00
Lucas Fernandes Nogueira
d38204907e
feat(cli): run local dev server on public IP on mobile development ( #5705 )
2022-11-28 08:30:48 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81
fix(core): manage mobile logs, fix Android logcat filtering ( #5659 )
2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
03d6c6a68f
refactor(cli): use jsonrpsee for mobile CLI options communication ( #5657 )
2022-11-20 09:48:02 -03:00
Lucas Nogueira
7c26514340
fix(cli): kill beforeDevCommand process when mobile fails to compile
2022-11-11 11:41:20 -03:00
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next
2022-10-31 10:13:57 -03:00
Lucas Fernandes Nogueira
8f3a9c5cf6
feat(cli): improve device/simulator prompt logic ( #5114 )
2022-09-01 12:00:17 -03:00
Lucas Fernandes Nogueira
82e8751ae8
feat(cli): add option to run on specific Android emulator/device ( #5093 )
2022-08-30 10:27:53 -03:00
Lucas Fernandes Nogueira
8cf9af93eb
refactor(cli): remove mobile Error enum, use anyhow instead ( #5076 )
2022-08-28 15:32:50 -03:00