I'm still learning the basics of android and firebase coding.
I have two problems to tackle:
- I need to check if a school from my database exists before continuing.
- I need to verify that a username entered by a user isn't already in use (all lowercase).
My database looks like this:
app: {
school: {
school: "university one"
school: "university two"
school: "university three"
},
users: {
"some-user-uid": {
school: "university one"
username: "myname"
}
}
}
Thank you.