Created
January 12, 2016 00:43
-
-
Save rt2zz/f8e6be95be3f16f231bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
<Camera ref='camera' target='disk' /> | |
// ... | |
this.refs.camera.takePicture((err, data) => { | |
NativeFileUploader(uploadUrl, {file: data.uri}, (err, data) => { | |
// ... | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment