We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a2cb6 commit 6cb601dCopy full SHA for 6cb601d
2 files changed
.changes/fix-mobile-cmd-case.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch:bug
3
4
+
5
+Convert the command name to camelCase when executing a mobile plugin command.
core/tauri/src/webview/mod.rs
@@ -1232,7 +1232,7 @@ fn main() {
1232
if let Err(e) = crate::plugin::mobile::run_command(
1233
plugin,
1234
&app_handle,
1235
- message.command,
+ heck::AsLowerCamelCase(message.command).to_string(),
1236
payload,
1237
move |response| match response {
1238
Ok(r) => resolver_.resolve(r),
0 commit comments