-
Notifications
You must be signed in to change notification settings - Fork 58
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
Upload captured photo ios #494
Conversation
…oad_captured_photo_ios
There was a problem hiding this 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]) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh nice! 👍
Refs #471
This PR hooks the methods needed to get the device camera capture of media.