I am trying to implement an id/token for the fcm push notification. I stored the id/token in my firebase database. I am having an issue getting the constant value to match the snapshot value. Here is code and a picture. [![enter image description here][1]][1]
let database = self.ref.child("\(safetyEmail)").child("uid")
let otherUseruid = database.observe(.value) { snapshot in
guard let ouid = snapshot.value as? String else {
return
}
print("this is the ouid: \(ouid)")
}
print("this is the otherUseriD: \(otherUseruid)")
What isn't the otherUseruid the same value as the ouid?