I’m starting to build a service in Rust that publishes Firebase messages and plan on using the fcm crate (https://docs.rs/fcm/latest/fcm/).
I’m confused as to what the registration id is? I don’t see that in the cloud console.
Thanks for your help
let client = fcm::Client::new();
let mut map = HashMap::new();
map.insert(“message”, “Howdy!”);
let mut builder = fcm::MessageBuilder::new(“”, “”); // What is the registration id?
builder.data(&map);
let response = client.send(builder.finalize()).await?;
println!(“Sent: {:?}”, response);
Caveno is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.