🌟 Welcome to my video! 🌟 To ensure you have the best experience and access to all the resources mentioned, we've placed all active links in the video description below. This helps me keep everything up-to-date and easy for you to find! 👾 Join my Discord community! It's a great place to connect, share, and get the latest updates. The link is in the description as well. 💖 If you enjoy our content, consider supporting the channel. Every bit of support helps me create more of what you love. Details on how you can support are also in the description. Thank you for watching and being a part of the community! 🚀
@AliKibao2 жыл бұрын
Kiling it Dimitar. Awesome stuff. How do we allow multiple file types?
@lugwirelouis15742 жыл бұрын
Great video but how do you retrieve the image to the client side like a social media app
@flutterflowexpert Жыл бұрын
When you upload the file you will get a URL you can use that URL to display the image after that.
@lugwirelouis1574 Жыл бұрын
@@flutterflowexpert thanx
@harijella78672 жыл бұрын
Great video to update and upload the document. Can you show how to View/Display the pdf/zip/doc/text from the Fire Storage?
@flutterflowexpert2 жыл бұрын
When you say Display what do you exactly mean as those are 4 different types of that and they are all displaying differently.
@ChrisLaupama2 жыл бұрын
How do you use choicechips in a form to send a list of document references to Firebase?
@flutterflowexpert2 жыл бұрын
What do you mean? You want when the choicechip is selected to send the data then or?
@ChrisLaupama2 жыл бұрын
@@flutterflowexpert Let’s say I have three collections. Users, Posts and Groups. Users collection has a field of List>Groups ( which is an array of Group document references ) - this represents all of the groups this User is a member of. Then, in Posts I have a field of List>Groups ( which is an array of Group document references ) - this represents which Groups this post can be displayed in In the form, I connect the User collection and map the list of Groups to the ChoiceChips ( this part I’ve managed to do ) so now the choicechips are displaying each group the user is a member of. But then, when the user selects the choice chips, I want to post to Firebase the choicechips that have been selected in the form to Post List>Group field. How would I do this?
@flutterflowexpert2 жыл бұрын
@@ChrisLaupama Please write me in the community because here it is not very comfortable - community.flutterflow.io/home
@DeSofSistemas Жыл бұрын
Hello, I did everything to the letter but I could not do it. The code you share is different from the one you are using in the example and it doesn't work. It's a shame to waste so much time to get nowhere.
@flutterflowexpert Жыл бұрын
The code is optimized. Why is it not working for you? Please join the Discord channel and let me know what is the issue - discord.gg/ERDVFBkJmY
@nordoow3404 Жыл бұрын
It's a fantastic job so far! Perhaps, with your code, it could be possible to check the file size before uploading to Firestore, a functionality not available in the native upload functions from FlutterFlow. Could you please consider adding code that enables us to retrieve the file size before uploading? This would allow us to implement a file size limit...
@flutterflowexpert Жыл бұрын
Yes I will think about improving this code. Good suggestion.
@amnaahmed47297 ай бұрын
Hey i watched your video. I am new to FF. Actually I've created a Dashboard page where there is list view and table. I want when user click on Upload button, it should save that data to firebase and return me a url so that i can give that url to Zapier web hook to perform furthur step
@flutterflowexpert7 ай бұрын
yeah you can totally do that and this code will return you the url of the file that was saved in FB Storage
@СергейАбрамов-и3т Жыл бұрын
Hello! When I try to run test mode it shows an error - could not find directory like ...flutter_flow/upload_media.dart. I tried to change path but it is the same
@flutterflowexpert Жыл бұрын
the code is now changed. the new code is import '../../flutter_flow/upload_data.dart'; github.com/bulgariamitko/flutterflowtutorials/blob/main/Custom%20Actions/upload-any-file-type.dart
@СергейАбрамов-и3т Жыл бұрын
@@flutterflowexpert Thank you! As for "upload_data.dart'" - is this file that already implemented in FF backend? How can I see classes and methods for example?
@flutterflowexpert Жыл бұрын
@@СергейАбрамов-и3т You can download the source code and then you can see all the classes and methods FF is using.
@apoorvsaxena3886 Жыл бұрын
is it possible to upload any filetype without giving the filetype as an argument in the custom function ? without specific filetype ?
@flutterflowexpert Жыл бұрын
no it is not. You need to list all fileTypes and it should be String of arrays like ['pdf', 'png'...]
@apoorvsaxena3886 Жыл бұрын
@@flutterflowexpert Thanks :) Awesome videos
@sheldontroll Жыл бұрын
how can i store it on the local state so i can upload the file with another information on my FF document?
@flutterflowexpert Жыл бұрын
What do you mean?
@sheldontroll Жыл бұрын
@@flutterflowexpert im trying to register an user but this user has to upload a pdf, so i wanna store the file until i press a button to register the user on my Firebase db
@flutterflowexpert Жыл бұрын
@@sheldontroll So you want to store a file before a user is registered or logged in?
@sheldontroll Жыл бұрын
@@flutterflowexpert before is registered, and save it with the registration of the user document in firebase
@flutterflowexpert Жыл бұрын
@@sheldontroll if it is before it is registered then I guess you can save it in a variable, I mean the file, and when the user registered to upload it to firebase.
@Christian-cl2fw2 жыл бұрын
thanks for your content! I use flutterflow myself and have small problem. I build a price feed (stocks) and do an API call to get the price change of a stock f.e. amazon. Afterwards I run a custom function to convert this data into a string so I do display a format like -0.45% This works fine. But I want to set the color to green, if it is a positive number or to red in case it is negative. I am trying to find a solution for weeks now, nothing works. Could you help me? :))
@flutterflowexpert2 жыл бұрын
Maybe this video can help you kzbin.info/www/bejne/eoTKhalrp8aIpq8
@kingdarling21039 ай бұрын
Can you upload a website file or maybe code?
@flutterflowexpert9 ай бұрын
The code I use is in the description under "Code used"
@awakening2dream2 жыл бұрын
How can be implemented a realtime virus and malware scanning when uploading a file?
@flutterflowexpert2 жыл бұрын
You need to first send the file using an API to check it for viruses and then store it in Firebase or you can store it then check it and if there are viruses, delete the file.
@charliefinale2 жыл бұрын
One correction to the code, you should add a ! to this line so it becomes final selectedFile = await selectFile(allowedExtensions: [fileType!]); Also I believe we can refactor the imports so that it will compile in FF. I will try. Otherwise great code that I have tested and it works.
@flutterflowexpert2 жыл бұрын
Thanks for your comment. This is used for null safety and you can have this line for that fileType = fileType ?? 'pdf'; So you don't need '!'. Also for the code it will not compile because of how FF was built. It should compile, but it will not. In the feature FF team will fix that.
@DeSofSistemas Жыл бұрын
Y download es posible?
@flutterflowexpert Жыл бұрын
I do not understand Spanish
@DeSofSistemas Жыл бұрын
@@flutterflowexpert you can't show how to download from firebase storage
@flutterflowexpert Жыл бұрын
@@DeSofSistemas Yes I will do that in future videos
@abduallahmustafa1029 Жыл бұрын
hi have a code of download image?
@flutterflowexpert Жыл бұрын
What do you mean?
@abduallahmustafa1029 Жыл бұрын
@@flutterflowexpert okay so I have a image url in firestore database then how can user can download the image?
@flutterflowexpert Жыл бұрын
@@abduallahmustafa1029 every file in Firebase has an unique url. You can use this url in order for people to download your image.
@abduallahmustafa1029 Жыл бұрын
Is there any custom code for this. Flow will be Button click -> download images