tanmay

unread,
Sep 12, 2016, 8:24:54 AM9/12/16
to MIT App Inventor Forum
I want to create a basic login function in my app using FirebaseDB (preferred) or TinyWebDB. I am currently using the TinyDB in my app but that is limited to only offline registrations. Once the app is uninstalled, all data gone. So I want to make the login function online. I only want basic functionalities like login, registration, and some basic user data. I've researched a lot, but I'm only finding too complex ones which could be hard for me to implement as I'm a beginner. I am uploading a screenshot of my current code, and the doubt I have is, at what point after confirming the username from the database should the password be authenticated? Also, how will the database recognize which user's details to access?
Screenshot_1.png

Abraham Getzler

unread,
Sep 12, 2016, 1:29:20 PM9/12/16
to MIT App Inventor Forum
Have you seen this login template
from my FAQ

Your blocks look like they assume only one user owns the entire database.

ABG
Reply all
Reply to author
Forward
0 new messages