fix(cli): fix code output of tauri plugin android init (#8810)

* Fix: code output of tauri plugin android init
double quotes `"` wasn't matching in plugin android init command

* change file
This commit is contained in:
Priyadarshan Giri 2024-02-07 22:10:46 +05:30 committed by GitHub
parent fb0d997117
commit aa06a0534c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---
Fix `tauri plugin android init` printing invalid code that has a missing closing `"`.

View File

@ -114,7 +114,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {{
Builder::new("{name}")
.setup(|app, api| {{
#[cfg(target_os = "android")]
let handle = api.register_android_plugin("{identifier}, "ExamplePlugin")?;
let handle = api.register_android_plugin("{identifier}", "ExamplePlugin")?;
Ok(())
}})
.build()