Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data is messed up #12

Open
amrayoub opened this issue Jun 16, 2016 · 4 comments
Open

data is messed up #12

amrayoub opened this issue Jun 16, 2016 · 4 comments

Comments

@amrayoub
Copy link

the Json data is messed up and the rooms page has many ambiguous names
can you fix it please

@mappmechanic
Copy link
Owner

I am busy in some personal engagements, I will fix this up the coming week.

@amrayoub
Copy link
Author

I have already solved the problem .
just save these on Json file then import it on firebase

{

"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]"

}

}

}

@chroda
Copy link
Contributor

chroda commented Jun 21, 2016

@amrayoub can you please do a pull request merge?
and please indent this file, reading this data seens so wrong, its that the right schema? can you tell me how you got it?

@amrayoub
Copy link
Author

no problem , just change firebase url in app.js to this
var firebaseUrl = "https://ioniconenctme.firebaseio.com/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants