This is a Rust fcm fcm notifications library wrapper to use the library in the C++ codebase to send push notifications to Android devices.
Linear task: ENG-1303
Differential D4894
[services] Tunnelbroker - Rust FCM push notifications library wrapper • max on Aug 22 2022, 4:50 AM. Authored by Tags None Referenced Files
Details This is a Rust fcm fcm notifications library wrapper to use the library in the C++ codebase to send push notifications to Android devices. Linear task: ENG-1303
Run cargo build from services/tunnelbroker/rust-notifications directory.
Patch to D4807 (top of the stack) using arc patch D4807.
Patch to D4807 (top of the stack) using arc patch D4807. Library's FCM notifications push method can be called from the C++ as: #include "rust_notifications/src/lib.rs.h" #include "rust/cxx.h" ... const unsigned long messageID = sendNotifToFCM( char const *fcmAPIKey, char const *deviceRegistrationID, char const *messageTitle, char const *messageBody );
Diff Detail
Event Timeline
Comment Actions Use Anyhow and Result instead of bool.
|