ionic-firebase icon indicating copy to clipboard operation
ionic-firebase copied to clipboard

Doubt after logging into the chat and see empty rooms

Open francisrod01 opened this issue 10 years ago • 3 comments

Doubt after logging into the chat and see empty rooms, I do not know what to do.

screenshot:

screen shot 2015-08-27 at 14 11 51

francisrod01 avatar Aug 27 '15 17:08 francisrod01

same problem with me , did u figure it out ?

amrayoub avatar Jun 16 '16 10:06 amrayoub

you have to add json data in the firebase

amrayoub avatar Jun 16 '16 15:06 amrayoub

{

"rooms" : [ {

"chats" : {

"-JglJnGDXcqLq6m844pZ" : {

"createdAt" : 1422461711580,

"from" : "Vla2",

"message" : "Ahh que duro estoy. App pa android y la web at the same time"

}

},

"icon" : "ion-university",

"id" : 0,

"name" : "Academics",

"notes" : "Discuss about education, colleges & degrees"

}, {

"chats" : {

"-Jg7fpJg910-ytGND3Ky" : {

"createdAt" : 1421779883628,

"from" : "rahulluthra",

"message" : "Which Camera should I buy for beginners?"

}

},

"icon" : "ion-camera",

"id" : 1,

"name" : "Photography",

"notes" : "Discuss about photography, cameras, picture modes"

}, {

"chats" : {

"-JgA5BQCjRj-p7EOHD20" : {

"createdAt" : 1421820348392,

"from" : "rahatkh",

"message" : "I love to hear classical music."

}

},

"icon" : "ion-music-note",

"id" : 2,

"name" : "Music",

"notes" : "Talk to fellow music lovers about latest songs & albums"

}, {

"chats" : {

"-JgAI2J4ksJJJA8hxNJK" : {

"createdAt" : 1421823734183,

"from" : "ankit",

"message" : "hiiiii"

}

},

"icon" : "ion-woman",

"id" : 3,

"name" : "Fashion",

"notes" : "Talk about latest fashion, clothes & accessories"

}, {

"chats" : {

},

"icon" : "ion-plane",

"id" : 4,

"name" : "Travel",

"notes" : "Discuss about holidays, vacations & travel deals"

} ],

"users" : {

"simplelogin:10" : {

"displayName" : "rahulluthra",

"email" : "[email protected]"

},

"simplelogin:11" : {

"displayName" : "rahatkh",

"email" : "[email protected]"

}

}

}

amrayoub avatar Jun 21 '16 17:06 amrayoub