chore: bump client api (#4804)

* chore: bump client api

* chore: bump client api

* chore: bump client api
This commit is contained in:
Nathan.fooo
2024-03-04 14:05:04 +08:00
committed by GitHub
parent b236afd0c3
commit f8962edfd7
14 changed files with 104 additions and 123 deletions

View File

@ -176,7 +176,6 @@ async fn post_to_flutter(response: AFPluginEventResponse, port: i64) {
#[no_mangle]
pub extern "C" fn rust_log(level: i64, data: *const c_char) {
info!("backend_log");
// Check if the data pointer is not null
if data.is_null() {
error!("[flutter error]: null pointer provided to backend_log");