tauri icon indicating copy to clipboard operation
tauri copied to clipboard

fix(android): allow and escape Kotlin keywords as package identifier, closes #9743

Open pewsheen opened this issue 3 months ago • 0 comments

Issue: https://github.com/tauri-apps/tauri/issues/9743 Depends: https://github.com/tauri-apps/cargo-mobile2/pull/328

How to test

  • 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`"
  • Able to run cargo tauri android dev

TODO

  • [ ] Wait for https://github.com/tauri-apps/cargo-mobile2/pull/328 to merge and update Cargo.toml to the version

pewsheen avatar May 16 '24 15:05 pewsheen