Get immediate access to this and 4,000+ other videos and books.

Take your career further with a raywenderlich.com Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

Add Pictures in the Screen Pro

This video was last updated on Aug 30 2022

In this lesson you will see how to use the local file storage to access your device pictures. From there you’ll select a picture that you’ll later send to the Cloud Storage.

Contributors

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

As you want to store an image to the cloud storage, in the FirebaseHelper class let’s create a method that uploads a file into the Firebase Cloud Storage bucket.

final folder = 'activity_images/'; 
final path = folder + basename(file.path); 
await storage.ref(path).putFile(file); 
return true; 

Reviews

Comments