diff --git a/plugins/push-notifications/src/mobile.rs b/plugins/push-notifications/src/mobile.rs index 563c1826..0d63b465 100644 --- a/plugins/push-notifications/src/mobile.rs +++ b/plugins/push-notifications/src/mobile.rs @@ -1,11 +1,13 @@ use base64::{engine::general_purpose, Engine as _}; use serde::de::DeserializeOwned; +use std::sync::Mutex; use tauri::{ plugin::{PluginApi, PluginHandle}, - AppHandle, Runtime, + AppHandle, Runtime, State, }; use crate::models::*; +use crate::PushTokenState; #[cfg(target_os = "ios")] tauri::ios_plugin_binding!(init_plugin_push_notifications);