Skip to content

fix(cli): builtin dev server should also be forwarded for Android#10600

Merged
lucasfernog merged 5 commits intodevfrom
fix/dev-server-localhost
Aug 14, 2024
Merged

fix(cli): builtin dev server should also be forwarded for Android#10600
lucasfernog merged 5 commits intodevfrom
fix/dev-server-localhost

Conversation

@lucasfernog
Copy link
Member

This changes the CLI to persist the "merge config" across mobile command usage (required to pull this config on the xcode and android studio build scripts). This is required because the builtin dev server makes modifications to the Tauri config (devUrl rewrite) and we need to detect that to forward the dev URL port to Android using ADB.

Also adds a warning on iOS when using dev --open: you need the --host option to run on physical devices.

This changes the CLI to persist the "merge config" across mobile command usage (required to pull this config on the xcode and android studio build scripts).
This is required because the builtin dev server makes modifications to the Tauri config (devUrl rewrite) and we need to detect that to forward the dev URL port to Android using ADB.

Also adds a warning on iOS when using `dev --open`: you need the `--host` option to run on physical devices.
@lucasfernog lucasfernog requested a review from a team as a code owner August 13, 2024 19:15
@github-actions
Copy link
Contributor

github-actions bot commented Aug 13, 2024

Package Changes Through 6f050b4

There are 7 changes which include tauri-build with prepatch, tauri-codegen with prerelease, tauri-utils with prerelease, tauri-cli with prerelease, @tauri-apps/cli with prerelease, tauri-bundler with prerelease, tauri with prerelease

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.0.0-rc.2 2.0.0-rc.3
tauri-bundler 2.0.1-rc.1 2.0.1-rc.2
tauri-runtime 2.0.0-rc.2 2.0.0-rc.3
tauri-runtime-wry 2.0.0-rc.2 2.0.0-rc.3
tauri-codegen 2.0.0-rc.2 2.0.0-rc.3
tauri-macros 2.0.0-rc.2 2.0.0-rc.3
tauri-plugin 2.0.0-rc.2 2.0.0-rc.3
tauri-build 2.0.0-rc.2 2.0.1-rc.0
tauri 2.0.0-rc.2 2.0.0-rc.3
@tauri-apps/cli 2.0.0-rc.3 2.0.0-rc.4
tauri-cli 2.0.0-rc.3 2.0.0-rc.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit f4cd68f into dev Aug 14, 2024
@lucasfernog lucasfernog deleted the fix/dev-server-localhost branch August 14, 2024 00:11
lucasfernog added a commit that referenced this pull request Aug 14, 2024
just applying the change from #10600 to xcode to fix the linked issue :)
lucasfernog added a commit that referenced this pull request Aug 15, 2024
…10605)

just applying the change from #10600 to xcode to fix the linked issue :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants