Too Long; Didn't Read
In this post we’ll build a cross-platform mobile app for taking photos and uploading to firebase. In Part 1, we saw how to take a picture and save it to Firebase Cloud Storage. We'll use a web worker to offload code that can potentially block our UI thread to another thread. We’re going to generate a thumbnail (on the client) to show while the image is uploading. We use the blueimp library to generate thumbnails locally and show it while uploading. The app shows blurred thumbnails with a spinner, a little like an image upload.