From 55633bd26b4256bb29607405a5a576cd78b7f83c Mon Sep 17 00:00:00 2001 From: fufesou Date: Thu, 20 Apr 2023 13:40:03 +0800 Subject: [PATCH] fix build Signed-off-by: fufesou --- src/flutter_ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs index 11485c224..5f72431ef 100644 --- a/src/flutter_ffi.rs +++ b/src/flutter_ffi.rs @@ -1397,9 +1397,9 @@ pub fn send_url_scheme(_url: String) { } #[inline] -#[cfg(not(any(target_os = "android", target_os = "ios")))] pub fn plugin_event(_id: String, _event: Vec) { #[cfg(feature = "plugin_framework")] + #[cfg(not(any(target_os = "android", target_os = "ios")))] { allow_err!(crate::plugin::handle_ui_event(&_id, &_event)); }