plugin_framework, debug listen event

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-27 14:41:53 +08:00
parent 9a457894b3
commit 12ab0a433a
4 changed files with 28 additions and 17 deletions

View File

@@ -965,10 +965,12 @@ impl<T: InvokeUiSession> Remote<T> {
// on connection established client
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
crate::plugin::handle_listen_event(
crate::plugin::EVENT_ON_CONN_CLIENT,
&self.handler.id,
);
{
crate::plugin::handle_listen_event(
crate::plugin::EVENT_ON_CONN_CLIENT.to_owned(),
self.handler.id.clone(),
)
}
}
if self.handler.is_file_transfer() {