Lucas Fernandes Nogueira
09e9dc1aab
feat(cli): allow xcodebuild to manage iOS signing and provisioning ( #10752 )
2024-08-23 21:12:49 -03:00
Lucas Fernandes Nogueira
2d31aef759
fix(cli): ensure gradlew is executable and does not use CRLF ( #10751 )
...
* test fix
* ensure gradle is executable and does not use CRLF
* fix import
* add change file
* add 0o111 instead
2024-08-23 10:49:45 -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
da8c9a7d30
refactor(cli): synchronize pbxproj and export options, handle cert on build ( #10669 )
2024-08-21 11:38:02 -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
Guillaume M
9b99ebab17
fix(cli): do not force architecture when building and archiving iOS app ( #10431 )
...
* feat(ios): add a new cli option to dev to use project archs
Add a new option to instruct cargo-mobile2 to use architectures configured in the project for building
* update cargo-mobile2, add change file
* fix change file [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-19 12:36:48 -03:00
Lucas Fernandes Nogueira
255d64e3dc
fix(cli): actually check if there are multiple android devices connected ( #10642 )
2024-08-16 04:12:34 +03:00
Lucas Fernandes Nogueira
9089d97637
fix(cli): properly resolve merge config on mobile build closes #9970 ( #10605 )
...
just applying the change from #10600 to xcode to fix the linked issue :)
2024-08-15 10:50:19 -03:00
Lucas Fernandes Nogueira
b160f9359d
fix(cli): only validate iOS lib on debug builds ( #10638 )
2024-08-15 09:12:21 -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
Lucas Fernandes Nogueira
712f1049fa
fix(cli): ios dev and ios build support for bun ( #10569 )
2024-08-13 09:00:41 -03:00
renovate[bot]
20be073bc4
chore(deps) Update Tauri CLI (dev) ( #10308 )
...
* chore(deps) Update Tauri CLI
* fix build
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-12 12:52:16 -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
anatawa12
4bfe4880fb
fix: fails to build universal fat binary if main bin is renamed to another name ( #10550 )
...
* fix: fails to build universal fat binary if main bin is renamed to another name
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-11 06:56:53 -03:00
Lucas Fernandes Nogueira
8dc81b6cc2
feat(core): add option for custom Xcode project template (XcodeGen) ( #10496 )
2024-08-07 13:17:01 -03:00
Lucas Fernandes Nogueira
02c00abc63
feat(core): add config for the minimum iOS version ( #10495 )
...
* feat(core): add config for the minimum iOS version
* revert api exapmle
2024-08-07 13:16:27 -03:00
Lucas Fernandes Nogueira
a3cd9779a4
chore(cli): remove android open and ios open commands ( #10480 )
...
It is recommended to use `[android|ios] dev --open` or `[android|ios] build --open` instead as it properly sets up the requirements for developing and building apps with Tauri.
2024-08-05 09:57:54 -03:00
Lucas Fernandes Nogueira
8e1e15304e
feat(cli): check if Rust lib contains required Android and iOS symbols #10094 ( #10483 )
...
* feat(cli): check if Rust lib contains required Android symbols #10094
* check for ios aswell
2024-08-05 09:46:28 -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
a5bfbaa62b
feat: add iOS frameworks config option, closes #9962 ( #10393 )
...
* feat: add iOS frameworks config option, closes #9962
* fix template
* typo
2024-08-02 07:35:03 -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
Lucas Fernandes Nogueira
7c7fa0964d
feat(cli): iOS signing for CI usage ( #9963 )
...
* feat(cli): iOS signing for CI usage
* license headers
* change file
* chore: support more cert types
* xplicit method arg
* keep keychain alive
* fix early keychano drop
* set team id
* use common name as cert name
2024-07-12 11:08:55 -03:00
Amr Bashir
c01e87ad46
refactor(cli/migrate): use oxc kit to parse and migrate js/ts files ( #10198 )
...
* refactor(cli/migrate): use `oxc` kit to parse and migrate js/ts files
closes #10192
* fix tests
* use majic-string to perserve formatting
* more comments
* Discard changes to package.json
* Update cli-migrate-enhancemnets.md
* Update cli-migrate-enhancemnets.md
* more context
* add missing quotes, rename getcurrent
* fix change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-07-12 09:03:30 -03:00
Lucas Fernandes Nogueira
3f1c59d684
chore(cli): enhance mobile build by only compiling selected target ( #9894 )
...
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-05-28 07:53:32 -03:00
Jason Tsai
71a5e2ba24
fix(android): allow and escape Kotlin keywords as package identifier, closes #9743 ( #9799 )
...
* fix(android): escape kotlin only keyword in template
* fix: escape keywords in wry templates aswell
* chore: add changelog
* chore: remove unused code
* fix(android): wry template, package name should reverse
* update cargo-mobile2
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-28 07:52:48 -03:00
Jason Tsai
1df5cdeb06
refactor!: use tauri.conf.json > identifier as package name and bundle id, close #9851 ( #9858 )
...
* fix(android): use identifier as Android package name
* update android_binding and android_fn interface
* chore: rename TAURI_ANDROID_PACKAGE_PREFIX to TAURI_ANDROID_PACKAGE_NAME
* revert back to split prefix and app_name
* rename `domain` to `identifier`
* add change log
* simplify reverse config identifier
* Update .changes/mobile-use-identifier-as-id.md
* Update core/tauri-build/src/lib.rs
* lint
* cargo-mobile2 0.12
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-24 09:22:41 -03:00
Lucas Fernandes Nogueira
8a1ae2deaf
feat(plugin): add option to use a Xcode project for iOS ( #9843 )
...
* wip
* add option to use xcode project
* configuration
* clear env
* add change file
* remove xcuserdatad
* delete xcuserstate
2024-05-24 08:23:41 -03:00
Lucas Fernandes Nogueira
4a33bc6a62
fix(cli): pnpm detection on mobile init and xcode-script ( #9553 )
...
* fix(cli): pnpm detection on mobile init
* small outputFiles fix
* same check for xcode-script
* Discard changes to tooling/cli/node/index.js
* Discard changes to tooling/cli/node/index.d.ts
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-05-11 23:32:05 -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
Kornel
cd23bb2ca2
fix(cli): clippy warnings on macOS ( #9456 )
2024-04-15 09:22:19 +02:00
Amr Bashir
b78f90bc9c
chore(cli): fix clippy errors ( #9330 )
2024-04-01 12:44:12 -03:00
scottpledger
6703b7cbca
fix: use $CARGO_MANIFEST_DIR to fully specify include_dir paths in tauri-cli ( #9310 )
...
* Allow tauri-cli to work with Bazel.
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com >
* change file
---------
Signed-off-by: Scott Pledger <scottpledger2005@gmail.com >
2024-04-01 16:43:52 +02:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
Lucas Fernandes Nogueira
3e472d0afc
refactor(acl): permission and capability platforms are optional ( #9115 )
...
* refactor(acl): permission and capability platforms are optional
* add iterator version
* fix build
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2024-03-07 14:18:15 -03:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
c68218b362
refactor(cli): add --no-bundle flag, skip bundling on invalid formats ( #8990 )
...
* refactor(cli): add `--no-bundle` flag, skip bundling on invalid formats
* enhance bundle format parsing
* lint [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-29 10:49:42 -03:00
Lucas Fernandes Nogueira
d7d03c7197
fix(cli): dev watcher infinite loop on mobile ( #9017 )
2024-02-28 17:22:45 -03:00
Amr Bashir
f5f3ed5f6f
fix(cli): CLI path issues on mobile project initialization ( #9009 )
...
* fix(cli): fix panic when `android init` using cargo or yarn
closes #8531
* clippy
* try with fullpath
* clippy
* move cli
* Update test-android.yml
* add to path instead
* clippy
* try moving
* use cargo subcommand
* delete unused logic [skip ci]
* truncate on init [skip ci]
* enhance binary/args check
* update change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-28 14:38:24 -03:00
i-c-b
b658ded614
fix(cli): Truncate BuildTask.kt before writing ( #9015 )
...
* truncate BuildTask.kt before write
* Create truncate-before-write-buildtask.md
* remove unused checks
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-28 13:42:21 -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
Amr Bashir
06d63d67a0
feat(cli): add new acl subcommands ( #8827 )
...
* unify `CI` var handling, and lay foundation for `permission` subcommand
* feat(cli/init&new): create `permissions` directory by default for plugins
* generate permissions with consistent pathing on windows and unix
* `pemrission create` initial implementation
* add ls command
* finalize `permission create` subcommand
* `permission rm` subcommand
* `permission add` subcommand
* remove empty `permission copy` subcommand
* clippy
* `capability create` subcommand and move modules under `acl` directory
* fix multiselect for `permission add` when capabilty doesn't have identifier
* clippy
* `create` -> `new` and change file
* license headers
* more license headers
* clippy
* Discard changes to examples/resources/src-tauri/.gitignore
* fix build
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-26 14:42:13 -03:00
Lucas Fernandes Nogueira
e538ba586c
fix(cli): process spawn not working on Node.js for mobile commands, closes #6203 ( #8949 )
2024-02-22 15:14:55 -03:00
Lucas Fernandes Nogueira
a029b9f77e
feat(cli): codesign on iOS is optional for the simulator ( #8910 )
...
* feat(cli): codesign on iOS is optional for the simulator
* cargo-mobile2 0.10
2024-02-21 09:52:46 -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