FlutterFlow's "Upload Media to Firebase" action doesn't return the path/URL

Actions & Logic

Hi everyone,

I'm trying to build a document upload feature in FlutterFlow where the user:

  • Selects a category

  • Enters a document name

  • Uploads a JPG/PNG/PDF

  • Submits, and the data is saved to Firestore with a file URL

Here's the issue:

I've used the ā€œUpload Media to Firebaseā€ action on a Container or IconButton, and while the upload works, I don’t get an option to save or capture the uploaded file's download URL in a page/state variable.

I tried:

  • Using both ā€œUpload file to Firebaseā€ and ā€œUpload media to Firebaseā€ actions

  • Adding a second action like ā€œDownload Fileā€ or ā€œSet Stateā€

  • Looking for an output variable or file path reference, but none appears

As a workaround, I was thinking about:

  • Manually constructing the URL using a predictable Firebase path

  • Or uploading via an external API/3rd-party service that returns the URL

But ideally, I’d love to do this entirely within FlutterFlow + Firebase, with access to the file URL.

Has anyone gotten this to work recently (April 2025) with the current FF version?

Would appreciate any workarounds or suggestions!

Thanks šŸ™
— Dinesh

What have you tried so far?

I tried:

  • Using both ā€œUpload file to Firebaseā€ and ā€œUpload media to Firebaseā€ actions

  • Adding a second action like ā€œDownload Fileā€ or ā€œSet Stateā€

  • Looking for an output variable or file path reference, but none appears

Did you check FlutterFlow's Documentation for this topic?
No
1
4 replies