Skip to content

Upload captured photo ios#494

Merged
SergioEstevao merged 3 commits intofeature/upload_captured_photo_androidfrom
feature/upload_captured_photo_ios
Jan 24, 2019
Merged

Upload captured photo ios#494
SergioEstevao merged 3 commits intofeature/upload_captured_photo_androidfrom
feature/upload_captured_photo_ios

Conversation

@SergioEstevao
Copy link
Copy Markdown
Contributor

Refs #471

This PR hooks the methods needed to get the device camera capture of media.

@SergioEstevao SergioEstevao added this to the Beta milestone Jan 24, 2019
Copy link
Copy Markdown
Contributor

@etoledom etoledom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks and work good! 🎉

I left an idea as a code comment, you and Marko can decide about it :)

callback(nil)
return
}
callback([mediaID, url])
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea:
All the media events in the bridge look super similar. (onMediaLibraryPressed. onUploadMediaPressed, onCapturePhotoPressed)
Maybe we could merge them and send a flag to identify them?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just proposed that on the Android PR that has the bridge method for JS. I can also change the delegate here to make it a single method.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh nice! 👍

@SergioEstevao SergioEstevao merged commit b2b7e4b into feature/upload_captured_photo_android Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants