I am building an iOS app using Firebase as the backend. Firebase has "observeStatus(.Progress)" code that is used for image storage.
I have 2 questions:
I will let users upload pictures which will be held in Firebase Storage, once a user decides to submit a picture, do they need to see a progress status bar indicator/progress status alert screen showing the image upload status?
If not, what is the purpose of the observe Status code below if there's no need to display a progress indicator to the user?
Code:
let storageRef = FIRStorage.reference().child("folderName/file.jpg");
let localFile: NSURL = // get a file;
// Upload the file to the path "folderName/file.jpg"
let uploadTask = storageRef.putFile(localFile, metadata: nil)
let observer = uploadTask.observeStatus(.Progress) { snapshot in
print(snapshot.progress) // NSProgress object
}