Create a project named with Kotlin keyword, such as when or object
Modify identifier in tauri.config.json -> aa.fun.tauri.dev
Call cargo tauri android init - Should be able to init, and the package name in src-tauri/gen/android/app/src/main/java/aa/fun/tauri/when/MainActivity.kt should be "aa.`fun`.tauri.`when`"
Issue: https://github.com/tauri-apps/tauri/issues/9743 Depends: https://github.com/tauri-apps/cargo-mobile2/pull/328
How to test
when
orobject
identifier
intauri.config.json
->aa.fun.tauri.dev
cargo tauri android init
- Should be able to init, and the package name insrc-tauri/gen/android/app/src/main/java/aa/fun/tauri/when/MainActivity.kt
should be "aa.`fun`.tauri.`when`"cargo tauri android dev
TODO
Cargo.toml
to the version