Hello, in this tutorial, I’ll show you how to download files from your Firebase Cloud Storage in Unreal Engine using the Firebase Blueprint Plugin
Hello, in this tutorial, I’ll show you how to download files from your Firebase Cloud Storage in Unreal Engine using the Firebase Blueprint Plugin
Then in the blueprint, call the Download File node.
If we look at the file I want to download, it is located inside the images folder and called image with the type png.
In the array, I’ll insert images for the first element and then add another element for the file name.
The local path pin represents the location of where you want to download the file to.
For Android or iOS, make sure that the directory is writable, or you’ll not be able to download the file.
I’ll use the Project Persistent Download directory since it’ll work for Android and iOS. Then I’ll append it to give the downloaded file a name.
Adding the Callbacks
Lastly, add the callbacks. Click and hold on them and drag on an empty spot.
For demo purposes, I'll add print nodes to the callbacks.
Now when I run the app and click on the download button, I should see a message on the screen telling me that the file is downloaded.
If I go to the Saved folder of the project, there should be a folder call PersistentDownloadDir. If I go into it, we should see the file.