Swift + Firebase: Date Cannot convert value of type '[AnyHashable : Any]' to expected argument type 'String' -
i trying use firebase server time create child node of uid date can store messages in time order.
this how trying it:
dbrootref.child(uid).child(servervalue.timestamp())
however error:
cannot convert value of type '[anyhashable : any]' expected argument type 'string'
this want
uid -- 1505348420 ---- "message" : "here message time want save"
any ideas how child node date in firebase?
Comments
Post a Comment