Nice concept, but I don’t really like the idea of exposing the entire signup code table to be manipulated by the device (read, write and delete permissions) - this means that a bad actor would be able to not only retrieve all signup codes but delete them all too...something that shouldn’t be possible. Really you should be using a cloud function for this use case and pass the input text in to that function and return a boolean response if it is found in the table, then once the user submits their signup, you’d trigger another cloud function passing in the signup code to be deleted. Also, whilst I’m not yet that familiar with FF, I ‘m trying to understand why you wouldn’t just use the text field’s onChange event/action to trigger your function. Is there some limitation there I’m unaware of?
Great points! Yes, using cloud functions for the codes would be more secure. Created this tutorial mostly for beginners and for demo projects. But totally agree that cloud functions should be used for a production ready app. When it comes to the onChange state, I have found that I need to click outside the text field in order for the changes of the new text to be seen. So that is why I have chosen not to use that, but rather a periodic timer so that the user can see things changing in the app while writing. Just a UX preference of mine.
can you please make a complete video how to use google drive api to display list of files (eg. pdf) from google drive to our flutterflow app . If it is possible through flutterflow to retrive data from google drive and display it on flutterflow app page please make it
I could share the link for sure. But you won't be able to see/do that much in the app since you will need a invite code to be able to use it. You will only see the signup page.
Rad! Great tutorial breakdown.
I read and what would happen if, apart from the email login and password, you had a Google login, how do you verify if you have a code or not?
🔥🔥🔥👏👏👏❤️
Try just doing a query for a single document instead I believe it will do the same thing
I prefer your tutorials over anyone else!!
Thanks! Trying my best
Nice concept, but I don’t really like the idea of exposing the entire signup code table to be manipulated by the device (read, write and delete permissions) - this means that a bad actor would be able to not only retrieve all signup codes but delete them all too...something that shouldn’t be possible. Really you should be using a cloud function for this use case and pass the input text in to that function and return a boolean response if it is found in the table, then once the user submits their signup, you’d trigger another cloud function passing in the signup code to be deleted.
Also, whilst I’m not yet that familiar with FF, I ‘m trying to understand why you wouldn’t just use the text field’s onChange event/action to trigger your function. Is there some limitation there I’m unaware of?
Great points!
Yes, using cloud functions for the codes would be more secure. Created this tutorial mostly for beginners and for demo projects. But totally agree that cloud functions should be used for a production ready app.
When it comes to the onChange state, I have found that I need to click outside the text field in order for the changes of the new text to be seen. So that is why I have chosen not to use that, but rather a periodic timer so that the user can see things changing in the app while writing. Just a UX preference of mine.
can you please make a complete video how to use google drive api to display list of files (eg. pdf) from google drive to our flutterflow app . If it is possible through flutterflow to retrive data from google drive and display it on flutterflow app page please make it
Will try my best to figure out how to do that. Can certainly make a video about it then. Thanks for the suggestion!
can you drop the flutterflow link of your project? so we can see and understanding algorithm for real
I could share the link for sure. But you won't be able to see/do that much in the app since you will need a invite code to be able to use it. You will only see the signup page.
Here it is: social-events.flutterflow.app/
11:21 I used it in the component and found no action output from the backend query@@leomcmillion