c4d420f
(#414 by @amrbashir) Fixandroid::emulator::avd_list
function interpreting log lines fromemulator -list-avd
as validEmulator
b4d615f
(#404 by @jmetz) Remove deprecated options from gradle file in the generated android template.
1ec0ca5
(#395 by @amrbashir) Fix deserializing targets from.cargo/config.toml
if the target'srustflags
field is not specifiede66010f
(#398 by @lucasfernog) Removed name and lib name validation as they are not used as the package identifier anymore.
cdb6ed3
(#388 by @lucasfernog) Only display logs from the actual iOS application unless pedantic verbosity is requested.cdb6ed3
(#388 by @lucasfernog) Always use verbose logging when building the app on iOS (Target::build
) to display cargo build output.
ce80447
(#380 by @lucasfernog) The Rust flags for Android builds no longer need to search the .cargo folder for libraries.
64d3e6f
(#383 by @lucasfernog) Added anArchiveConfig
parameter toapple::Target::archive
.64d3e6f
(#383 by @lucasfernog) Allow skipping code signing onApple::Target
build
andarchive
methods, which fixes an issue in CI where automatic signing only works on the first execution, and following runs errors withRevoke certificate: Your account already has a signing certificate for this machine but it is not present in your keychain
.
e289dd9
(#381 by @lucasfernog) Added aBuildConfig
argument to theTarget::build
iOS method to allow provisioning updates.e289dd9
(#381 by @lucasfernog) MoveAuthCredentials
tocargo_mobile2::apple
.
c92d72f
(#377 by @lucasfernog) Addedapple::Config::development_team
getter.
da40535
(#375 by @amrbashir) The app identifier must now be provided in reverse order (e.g.dev.tauri.app
instead ofapp.tauri.dev
). RemovedApp::reverse_identifier
and AddedApp::identifier
.
d0e9e58
(#371 by @lucasfernog) Added aExportConfig
argument to theTarget::export
iOS method to allow provisioning updates.
f09a6da
Allow hyphens on iOS identifiers and underscores on Android identifiers.
f5548f7
(#362 by @lucasfernog) AddedConfig::set_export_options_plist_path
to define a custom ExportOptions.plist to use.b1e407c
(#359 by @amrbashir) Updatewindows
crate to0.58
b1c2313
(#353 by @mrguiman) Do not include the target arch when building and archiving the iOS application.
48c7f8e
Addedandroid::Device::serial_no
getter.
71d648f
Update handlebars to v6.
aad5655
(#354 by @lucasfernog) Exposeapple::Device::kind
.aad5655
(#354 by @lucasfernog) Changed theandroid::adb::adb
function to be generic.
-
29921ff
(#330) Useconfig.identifier
as the package name in Android and bundle ID in iOS.BREAKING CHANGE:
- In
Config
, renamed fielddomain
toidentifier
. - In
App
, renamed methodreverse_domain
toreverse_identifier
.
- In
cb4ed53
(#300) Fix.gitignore
generated with wrong formatting.ad41fe2
(#296) Generate.cargo/config.toml
with paths wrapped in quote.
b370b38
(#285) Fix a bug in checking for package presence when initiating an ios project0c91351
(#292) Removeopenssl
and usex509-certificate
instead.1567a7a
(#288) Updatewindows
crate to0.54
7a1066c
(#283) Useadb install -r
to try replacing the android application while installing it on the device. This elimnates the need to uninstall the application from a previous run when using a real device.5a84ab2
(#281) Updatewry
template to[email protected]
- `` Fix adb usage for NAPI context following v0.10.1 fix.
d90ccf4
(#273) The development team configuration is now optional so you can develop on a simulator without a signing certificate.
cfd674e
(#254) Fixes conflicts between Apple and Android targets.Target::name_list
now returnsVec<&str>
.
cceff7e
(#247) Fixdevicectl
listing disconnected devices.95f77b3
(#233) Updatetextwrap
to 0.16.9f39389
(#245) Updatewindows
crate version to0.51
21b1386
(#208) Allow selecting "Apple Vision Pro" as an emulator.02dd3e3
(#214) Fix Android template generation.a82bf57
(#202) FixesDevice::run
not showing logs.a26988a
(#206) Add--skip-targets-install
option forcargo mobile new
andcargo mobile init
4f3e4d7
(#172) Fixcargo android run
crashing because it can't detect device name using bluetooth_manager for devices without bluetooth like geneymotion.43b2a3b
(#174) On Linux, fix crash after false detection of VSCode.6b8cf77
(#182) Use stylized_name config for iOS product name.
e1bf612
(#162) Update the path tolibc++_shared.so
for NDK versions 22 and above.7b46c30
(#169) Added thenative-tls
(enabled by default) andrustls
features to allow compiling without native-tls.
c2abaf5
(#148) Detach launched processes for CLIopen
commands on macOS and Windwos.489d812
(#149) Fix several commands fail because stdout isn't captured.1245540
(#153) Update android template to gradle 8.08f6c122
(#152) Change CLI template directory to$CARGO_HOME/.tauri-mobile
instead of$HOME/.tauri-mobile
.
- Use
duct
to run the ADB commands. - Breaking Replace
bossy
withduct
across the crate. bossy has two ways to create commands, impure and pure. The pure version won't inherit env variables. This causes child processes won't get the env varialbes and results in issues like openssl cross compilation. - Return
duct::Handle
inapple::Device::run
to keep compatibility with Android. - Update
wry
template to[email protected]
- This change manually instructs Java and Kotlin to use/generate code for the same JVM target.
- Remove
libgcc
redirect tolibunwind
workaround for NDK 23 and higher - Use signed apks if signing is configured in the gradle project.
- Build only specified rust targets for
cargo android apk build
andcargo android aab build
instead of all.
- Add
start_detached
method to start emulators. - Fallback to
gradlew
orgradle
fromPATH
if the one inside the generated template doesn't exist. - Use correct lib name in xcode project.
- Add xcode script back and skip it when building simulator target.
- Allow to update repo with a specific branch.
- Fixes regression when running commands and checking status code.
- Fixed gradlew execution on environments like Node-API.
- Added support for opening Android Studio installed by JetBrains Toolbox
- Increased minimum iOS version from 9 to 13
- Fixed ADB and xcodebuild execution on environments like Node-API.
- Fix
cargo mobile update
target branch and enabledcli
feature when update. - Fix content assignment in ios template.
- Bump minor version as
0.1.5
add a new feature which was incompatible with0.1.4
- 969e8ef chore: bump minor for urgent release on 2023-01-15
- Add support for
CARGO_TARGET_DIR
andCARGO_BUILD_TARGET_DIR
env vars. - Allow specifying
lib_name
inmobile.toml
file. This useful if you set[lib].name
inCargo.toml
. - Adjust
wry
template for desktop usage also. - Update
wry
template to use the newwry
env vars.- 0113d1f feat: update wry template to use the new env vars on 2022-12-30
- Improve error message for missing library artifact.
- 807861a feat: validate library artifact existence on 2022-12-28
- Allow specifying an app target dir resolver via
config::App::with_target_dir_resolver
.
- Fix
android_binding!
macro usage in thewry
template.- fd68c94 fix: fix android_binding! usage in wry template on 2022-12-27
- Show all application logs on iOS noninteractive mode.
- Implement noninteractive mode on iOS simulators.
- Fix
cargo apple run
can't work on real device. - Added the
openssl-vendored
Cargo feature.