Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload captured photo ios #494

Conversation

SergioEstevao
Copy link
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
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
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
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
Contributor Author

Choose a reason for hiding this comment

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

Copy link
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