Inserting a "pause" to confirm photo

Hey all, below is an app that I’ve started working on. It takes a photo, uploads it to Cloudinary and then saves the URL of the photo to Firebase.

What I would LIKE to happen is, after the photo is taken and the image is displayed on the screen, for a new button to appear asking the user is the photo is ready to send, or if they would like to start over? This needs to happen BEFORE the upload to the cloud.

Any suggestions?

Many thanks!

Mark

Hello,

Before the block MediaBD.callUpload, place a block “if” statement that checks the handler block camera DidUserCancel. If the user has not cancel, save photo in the repository and send a link by email.

Sample

Or you can show the user the Alert selection dialog and, if choose “Yes”, save the link to the MediaDB and send it via email.

Alex

2 Likes