Пікірлер
@alexanderkarg5226
@alexanderkarg5226 15 күн бұрын
i cannot make it work like you showed it 😞
@danielhabibi
@danielhabibi 15 күн бұрын
@@alexanderkarg5226 what's the issue you're having?
@alexanderkarg5226
@alexanderkarg5226 13 күн бұрын
@@danielhabibi hi there, thank you for replying i dont know. I think i have copied what you have done exactly, but the hover action is not working! 😞i have used a conditional value for the color -> then IF mouseRegionHovered use green else red color. But this does not work 😞
@MichaelHigdon-exodus
@MichaelHigdon-exodus 22 күн бұрын
How does this prevent a user who may accidentally gain access to an admin screen from being able to affect data? In a SQL database you just build a RLS policy that blocks anyone but a user with the designation 'admin' to update/delete a row but this solution only seems to give frontend level security, not database level? Thanks for the video!
@danielhabibi
@danielhabibi 22 күн бұрын
Great question and my pleasure! So if the front-end bugs out, and lets someone get to a page they aren't supposed to, like an admin page in the app. Since I use Xano for my backend, it allows me to encrypt the authToken with additional info such as role. When the user tries to call an API endpoint, it first checks if they are the correct role based on their authToken, if they fail, they get an error and the sensitive data doesn't load. Then front-end logic navigates them off that page based on the API response. Please let me know if that makes sense and if you'd like me to create a video on how to do it in Xano on the backend!
@MichaelHigdon-exodus
@MichaelHigdon-exodus 22 күн бұрын
@@danielhabibi Makes total sense! I think it would be a good video to see how you make use of the authtoken system with Xano. Since you had the roles set as enums in the app, which I now realize was just for frontend, I was wondering how you secured it with Firebase, but since I now know youre using Xano, I get it. I currently am using Supabase exclusively, but have looked into Xano when I was looking for a more scalable option for Bubble. Xano seems like an excellent option, and knowing more about how an expert secures his database would be awesome! Thanks for the reply!
@sgmxmx9008
@sgmxmx9008 Ай бұрын
Hi, thanks for everything. can i get a discord invite please? Regards
@danielhabibi
@danielhabibi Ай бұрын
@sgmxmx9008 My pleasure! Here you go discord.com/invite/uU8xXU3Z
@edwhard2000
@edwhard2000 2 ай бұрын
I'm trying to build an app that has partners and clients, and obviously this needs to be separated. I'd love to see how to set this up in depth. I'm using firebase
@IECVanuatu-g6e
@IECVanuatu-g6e 2 ай бұрын
Thanks was seeking to convert json to datatype for days and found your video... manage to make it working in 2 minutes. Thanks again.
@Mwelwajr
@Mwelwajr 2 ай бұрын
The question is, how does one sign up and update each user document separately?
@danielhabibi
@danielhabibi 2 ай бұрын
@Mwelwajr it depends on the type of app. For example, a 2-sided marketplace can have a single signup, and during onboarding, the user can select their roles. In my example, the admins are assigning user roles in the admin dashboard.
@Mwelwajr
@Mwelwajr 2 ай бұрын
@@danielhabibi can you please do a full video for this role-based access
@practicalNoLowCoder
@practicalNoLowCoder 3 ай бұрын
Would you know if FF has introduced features to be able to access the card without use of custom functions since your recording? Regardless, would love a peek at your code. Would appreciate a discord invite.
@danielhabibi
@danielhabibi 3 ай бұрын
I don't believe they have, and just so you know, the app shown in the video is using this method in production. I've had a few ideas on how to improve it, but haven't had the time to explore them yet. I'll try to prioritize it and release an updated video if any of those ideas pan out. In the meantime, here's a link to my discord! discord.gg/7wkm5pEc
@E2dbro
@E2dbro 3 ай бұрын
Hi Daniel, Can I please get access to the discord
@danielhabibi
@danielhabibi 3 ай бұрын
@@E2dbro discord.com/invite/WhCxx8td
@XxJonCxX
@XxJonCxX 3 ай бұрын
This is helpful! I would love to see a more in depth video on this
@danielhabibi
@danielhabibi 3 ай бұрын
@XxCancerKid15xX you got it. I'm adding it to the list. Thanks for letting me know!
@katz87
@katz87 4 ай бұрын
Looks great, would love to join the discord as well
@danielhabibi
@danielhabibi 4 ай бұрын
Thanks, here you go! discord.com/invite/wWbQm7yU
@AmadiHunt
@AmadiHunt 5 ай бұрын
Sorry if this is a silly question but could you maybe show what your get user data call is at the very end of the login action chain and also the get user data call you used for the 401 error, I just want to make sure I have set both up correctly.
@danielhabibi
@danielhabibi 5 ай бұрын
There's no such thing as a silly question! The get user data call is a standard auth/me endpoint in Xano, which is used to grab stuff like their name and update the app state with those variables. Please let me know if that clears things up for you or if I need to clarify anything!
@AmadiHunt
@AmadiHunt 5 ай бұрын
@@danielhabibi Thank you for clarifying, it is much appreciated. I was attempting to use the user endpoints which in hindsight was rather silly. This makes much more sense.
@saruskas
@saruskas 5 ай бұрын
Hi, thanks for everything. can i get a discord invite please? Regards
@danielhabibi
@danielhabibi 5 ай бұрын
My pleasure! Here you go discord.gg/WMfzqMMU
@saruskas
@saruskas 5 ай бұрын
@@danielhabibiI appreciate it very much, thank you! Do you know why I can't close the cards when I tap on the map? The cursor on the map is a "hand" and does not recognize the click :S
@danielhabibi
@danielhabibi 5 ай бұрын
@saruskas My pleasure! Thanks for posting on Discord. I replied to you there.
@AristonJumagbas-jp4xt
@AristonJumagbas-jp4xt 5 ай бұрын
can I get a discord invite too
@danielhabibi
@danielhabibi 5 ай бұрын
Here you go! discord.gg/pUsVStCU
@J-the-Rod
@J-the-Rod 6 ай бұрын
Do you still have the discord channel?
@danielhabibi
@danielhabibi 6 ай бұрын
Yup, here you go! discord.com/invite/ewCquAUd
@topazyates
@topazyates 6 ай бұрын
nice. would love see all of this. can i get a discord invite?
@danielhabibi
@danielhabibi 6 ай бұрын
Of course! Here it is: discord.com/invite/6vDJPevc
@danielhabibi
@danielhabibi 6 ай бұрын
Hey friends! This method is unfortunately outdated, and I recommend following the steps here instead. I'll make a video on the new method soon! docs.flutterflow.io/data-and-backend/api-calls/api-calls-101
@becraveiro1
@becraveiro1 6 ай бұрын
Hi Daniel! Can you please create a video showing this update? I don't think I am creating my Data Type correctly, as if doesn't seem like my page state is updating. Thanks again for the helpful videos!
@danielhabibi
@danielhabibi 6 ай бұрын
@@becraveiro1 Hey! The FF team actually just added an auto-create Data Type from a JSON response because so many people were struggling with it and spending too much time trying to get it to work. 1. Test your API 2. Copy the JSON response 3. Go to Data Type Tab 4. Click the new button and paste your JSON in the box Hope this helps!
@becraveiro1
@becraveiro1 6 ай бұрын
@@danielhabibi Hmmm Should I copy the entire Body JSON form the API Response test or should I copy the Raw Body? Also, im only interested in a few paths, does that make a difference? Just to give some context, my API Call is a google maps one that outputs a list of restaurants (lat, long, name, address). I am parsing my Data Type as a List, but the Data Type itself is not a list (each item form the API has only one lat, long, name, and address). Seem like my Page State (DataType List) is not being updated using the JSON to Data Type.. Weird.
@MusicbyAnt
@MusicbyAnt 6 ай бұрын
hey Daniel thanks for the quick tuto. i follow the same tuto as you did however im returning an error. Would you be able to help me by any chance to figure out where is the blocking?
@danielhabibi
@danielhabibi 6 ай бұрын
Hey, my pleasure! Here's an invite to my discord server where I'll be glad to help you out! discord.com/invite/8sXqh3eR
@anhoangthien6715
@anhoangthien6715 6 ай бұрын
Can you please share the function google_service_account_access_token sir? I stuck at this step to get Authorization token.
@danielhabibi
@danielhabibi 6 ай бұрын
You can get the snippet for the function from the description of this video and it shows you how to create the service account: kzbin.info/www/bejne/iXvHXqJ5YrR6lac
@anhoangthien6715
@anhoangthien6715 6 ай бұрын
Thanks for your support!@@danielhabibi
@leonlim1625
@leonlim1625 7 ай бұрын
Hi Daniel, I clicked on the discord invite in the post below but it is no longer valid. Could you please resend the invite or share the sample app here? I need this function for my app and hope to hear from you soon. thanks and much appreciated!
@danielhabibi
@danielhabibi 7 ай бұрын
Hey! Here's an invite. You'll find it under the custom-code channel. discord.gg/ZvY6pHad
@leonlim1625
@leonlim1625 7 ай бұрын
@@danielhabibi Thank you so much Daniel, managed to access the discord. I just subscribed to your YT channel and looking forward to more amazing tutorials on FF. Cheers!
@selimmete4879
@selimmete4879 8 ай бұрын
We want to build app can you help as contractor?
@danielhabibi
@danielhabibi 8 ай бұрын
Hi! Please email me at [email protected]
@togugram
@togugram 8 ай бұрын
Thanks!
@jules_gyn_
@jules_gyn_ 8 ай бұрын
Hi, how did you put the button to navigate back on the map? Mine stays outside
@danielhabibi
@danielhabibi 8 ай бұрын
There are two ways to do it. Option #1 is how I did it using a stack. You can see it in the widget tree at 1:20 in the video. #2 Click on the scaffold and add a Floating Action Button (FAB). It's under Page Elements and can't be added as a child of another widget which is why we need to select the scaffold to see it show up when adding a widget. Hope this helps!
@jules_gyn_
@jules_gyn_ 8 ай бұрын
@@danielhabibi Thank you for your help! Just suscribed, I stay tuned whenever you post helpful videos like this
@projects-flow
@projects-flow 8 ай бұрын
Hello, very good video. Which recorder and editor do you use for your videos?
@danielhabibi
@danielhabibi 8 ай бұрын
Thanks! I use screen.studio/@oKP8q for both recording and editing. It's mac only though.
@ksrath1
@ksrath1 8 ай бұрын
hey Daniel, do you think the JSON parsing issue is resolved now with the Data Types? I will give it a go!
@danielhabibi
@danielhabibi 8 ай бұрын
Hey! Yes, exactly! You shouldn't have any issues by using Data Types.
@ksrath1
@ksrath1 8 ай бұрын
Hi Daniel, thanks for this video! I'm just wondering, how does FF take the API 'parse as Data Type' and map it from the JSON path to the relevant field in 'Data Type', as per your video at 4:55? I'm trying to do that but I don't have the option 'Data Structure Field' underneath the 'course' option.
@danielhabibi
@danielhabibi 8 ай бұрын
Hi! I think I left out that part by accident. We want to create our Data Types and build out the schema the way our API is structured. This image should help imgur.com/LzUzdrR Also, FF actually changed the documentation on this so I'm going to re-record it and upload it as soon as possible!
@ksrath1
@ksrath1 8 ай бұрын
Hey@@danielhabibi TYSM, your image makes sense, and of course it now makes sense that the data type is mapped the way the API is structured! I went through the FF documentation and noticed that I had to update my FF app on my mac...that seemed to have the 'Data Structure' options. And it didn't need the 'Update App State' variable to map the API response to the data type. Hurray! Can I be cheeky...and ask for a next video request? Would it be possible to do something with Xano/API populating dynamic children that ISN'T a list view? e.g. some sort of stack? ❤
@danielhabibi
@danielhabibi 8 ай бұрын
@@ksrath1 My pleasure! Yes, I need more requests but I'm not sure I understand this one... What do you mean exactly? Like one that is generating dynamic children of a PageView or Swipeable Stack? Feel free to send me a Loom or screenshot through a DM on twitter, on discord, or to my email.
@AndrewBurchfield
@AndrewBurchfield 9 ай бұрын
Such a great video! (And teacher! #Subscribed) I’m still having issues though 😔 Is there somewhere I could send you an email or show you what I’m dealing with?
@danielhabibi
@danielhabibi 9 ай бұрын
Haha thank you! Yes, of course, and I'm sorry to hear that. You can email at [email protected]
@boldbold7398
@boldbold7398 9 ай бұрын
yeah free marketplace is a great idea please do it, also this video was amazing and informative, thank you so much
@danielhabibi
@danielhabibi 9 ай бұрын
Great, will do! My pleasure!
@danielhabibi
@danielhabibi 9 ай бұрын
Sorry about the weird aspect ratio on this video!
@SaifShariff-fk2zo
@SaifShariff-fk2zo 9 ай бұрын
what do you do if there are multiple markers on the same location, how can you give the user an option on which marker to see more information about???
@danielhabibi
@danielhabibi 9 ай бұрын
Great question! Unfortunately, I haven't had time to add that functionality. Right now, it returns the first object it finds. I'm not positive you can hack the FF GoogleMaps widget to do that. If you find a solution, please share it with the community!
@netoguaxupe
@netoguaxupe 9 ай бұрын
Hi Daniel congrats!!! man you helped me a lot. I'm from Brazil and I have a low experience in code but i'm doing well with xano and FF and I was looking fo this solution for a long time because I think as you, xano is amazing but a native integration with firebase is also amazing. Man I have no way to tank you for that. Sucssess and send more amazinf videos like that!!!!!
@togugram
@togugram 10 ай бұрын
I need a very strong coffee...
@HarshitJoshi-x1c
@HarshitJoshi-x1c 10 ай бұрын
share this project link
@DevelopmentCedhai
@DevelopmentCedhai 4 ай бұрын
You forgot please...
@SahanRuchika
@SahanRuchika 11 ай бұрын
Great tutorial! Good luck
@willembarnard2596
@willembarnard2596 Жыл бұрын
You are a lifesaver. Thank you so much. I had massive headaches getting the JSON object parsed
@flutterflowexpert
@flutterflowexpert Жыл бұрын
Great work! Keep on pushing! And good luck with your future, btw!
@danielhabibi
@danielhabibi Жыл бұрын
Thanks Dimitar ❤️ I really appreciate your support and encouragement 🙏
@AlexMoorhouse
@AlexMoorhouse Жыл бұрын
Amazing info mate, thank you!
@danielhabibi
@danielhabibi Жыл бұрын
My pleasure Alex!
@AlexMoorhouse
@AlexMoorhouse Жыл бұрын
Great tips mate, gona have to re-watch again as there is lots of tips!
@danielhabibi
@danielhabibi Жыл бұрын
I'm about to record another one because I've found even more ways to improve my workflows in FlutterFlow!
@alydiallo4179
@alydiallo4179 Жыл бұрын
Can you make tutorials for notifications on foreground?
@danielhabibi
@danielhabibi Жыл бұрын
I'll add it to the list. Thanks for the suggestion! Is there a specific use case you have in mind?
@alydiallo4179
@alydiallo4179 Жыл бұрын
@@danielhabibi Allow the user to see his notifications when he clicks on the notification icon
@danielhabibi
@danielhabibi Жыл бұрын
If you're using Firebase, check the official FF channel. They just showed how to build this on yesterday's livestream. If you're doing it in or another relational DB, I'll make a video on it!@@alydiallo4179
@stevereekie-qk6mt
@stevereekie-qk6mt Жыл бұрын
Hi Daniel, amazingly useful. Many thanks for the upload and your effort putting the video together. Just wondering when/if you'll be releasing Part 2 for notifications?
@danielhabibi
@danielhabibi Жыл бұрын
My pleasure, Steve! I'm a little slammed at the moment, but you're the second person to ask for it recently, so I'll try to do it asap! Also, I was thinking of creating a FF template and Xano snippet for all this to make people's lives easier and help jump-start projects quicker. Let me know if you're interested in that!
@unaialapont5500
@unaialapont5500 Жыл бұрын
Hi Daniel! Thank you so much for your help, I would love to see Part 2. The snippet would make it super useful, I'm sure many people would use it. Keep up the good work!
@mediacode_
@mediacode_ Жыл бұрын
Hello, thank you for this very interesting video. I would like to see the custom functions, can I have an invitation to the discord? thank you.
@danielhabibi
@danielhabibi Жыл бұрын
My pleasure! discord.gg/6dsrQCbK
@luchoo1991
@luchoo1991 Жыл бұрын
Great Guide Video! Are you releasing the second part for the Push Notification soon? I'm really looking forward to that.
@danielhabibi
@danielhabibi Жыл бұрын
Thanks! Sorry, I never got around to recording part 2. I'll try to get it out asap!
@katnissapp
@katnissapp Жыл бұрын
I have another question @danielhabibi , when you make the : Create Authentification Token at 6:30, the return value (authToken) in a percist App State, but at 8:47, you make a first action : Backend Call to a get user Data with the current 'authToken App State' and i don't understand how your api call work * How can you know if the authToken is still valid or not ?
@danielhabibi
@danielhabibi Жыл бұрын
I actually changed the way I set up the homepage flow and will record a new video on it soon. The purpose of the Get User Data call is to know if the Xano authToken is still valid using the conditional (200 means it's still good). If it isn't, then make the Firebase Auth call again and reupdate the appstate with the new token (the same way we do on the login button). This way the user doesn't have to log back in since the Firebase Authentication refreshes on its own (the JWT will always be valid AFAIK, still not sure about the Firebase JWT TTL). The only difference is that we will use "rebuild current page" so it refreshes the homepage calls with the new valid Xano authToken.
@katnissapp
@katnissapp Жыл бұрын
Ok i understand the logic ! so is that what you do @@danielhabibi : kzbin.info/www/bejne/o4TLqKOwq5mVoJI
@katnissapp
@katnissapp Жыл бұрын
Hey daniel, can you show us the backend api call you made in flutterflow please, thanks a lot for this tuto!
@danielhabibi
@danielhabibi Жыл бұрын
Hey, my pleasure! are you talking about the call "Firebase Auth" shown at 1:00? It's just a post call with an id_token variable (string). Make sure to add the variable to the JSON body. If you're still having trouble, let me know and I'll try to help!
@katnissapp
@katnissapp Жыл бұрын
thanks !! I made it@@danielhabibi
@nocodeable
@nocodeable Жыл бұрын
Would love to see your custom function for generating the list of lat/lng values for the markers. I have an Algolia search via an api call where I return results and am trying to pull the values from the json results into the lat/lngs wanted by the Google Maps Widget.
@danielhabibi
@danielhabibi Жыл бұрын
For sure! It's posted in my discord server with instructions because I accidentally hard-coded the path name. Anyway, here's an invite discord.gg/ZGrM38pF
@stevenyliu
@stevenyliu Жыл бұрын
Hi Daniel, I'm facing the same issue however for expecting double but receiving dynamic. For your argument, how were you able to define jsonList as dynamic? I don't see any option for type dynamic.
@danielhabibi
@danielhabibi Жыл бұрын
Hey Steven! Everything set as JSON Type will show up as dynamic. In the custom code I show, jsonList is set to Type JSON and List is checked/enabled. I actually got a notification for your message on github and think you're right, might be the same bug for double as it was with int!
@stevenyliu
@stevenyliu Жыл бұрын
@@danielhabibi ah thank you! this definitely worked! I feel futterflow has a lot of issue interpreting JSON value type.
@danielhabibi
@danielhabibi Жыл бұрын
@@stevenyliu Awesome! Yeah it has quite a few issues with parsing JSON. Now that more people are using it and reporting bugs, it should be getting much better!
@salincorp
@salincorp Жыл бұрын
Hello, thank you very much for your publications, they are excellent, I would like to have access to Discord, but I can not send you messages on Twitter because I am not verified, is there any other way to get access, thanks....
@danielhabibi
@danielhabibi Жыл бұрын
My pleasure! Sorry you couldn't DM me on Twitter, I'll have to fix that. Here's an invite: discord.gg/2JGGWqqV
@salincorp
@salincorp Жыл бұрын
@@danielhabibi thank you very much, this is a great help. 😃😃
@bruhhhhh718
@bruhhhhh718 Жыл бұрын
hey man i applied to y combinator with my idea and wanted to get your thoughts on if you think flutterflow would be a good place to build it
@solvsmart6278
@solvsmart6278 Жыл бұрын
How to get Discord access?
@danielhabibi
@danielhabibi Жыл бұрын
DM me on Twitter or on the FlutterFlow Forums!
@younessegi1094
@younessegi1094 Жыл бұрын
Wow... I'm looking for this function for a while and you seem to have it done but impossible for me to clone what you've done, i'm too novice. Do you think it is possible to create the same function with Firebase?
@danielhabibi
@danielhabibi Жыл бұрын
Yes, it's definitely possible. Look up James NoCode on KZbin. I think he has a video on how to do it with Firebase.
@chuckles1980
@chuckles1980 Жыл бұрын
Great stuff! Avoiding 401 makes sense and I didn't consider that.