1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Can send push notification messages through Firebase

This commit is contained in:
2021-04-15 16:35:25 +02:00
parent bd1f7ac63b
commit 42c7425aae
9 changed files with 360 additions and 14 deletions

View File

@@ -222,4 +222,7 @@ pub mod conversations {
/// Conversation logo size
pub const MAX_CONV_LOGO_WIDTH: u32 = 200;
pub const MAX_CONV_LOGO_HEIGHT: u32 = 200;
}
}
/// Url where Firebase push notifications can be sent
pub const FIREBASE_PUSH_MESSAGE_URL: &str = "https://fcm.googleapis.com/v1/projects/{PROJECT_ID}/messages:send";