Created
June 7, 2018 13:15
-
-
Save csorlandi/cbefcfa3515f4b1c93e4aca9cdf30823 to your computer and use it in GitHub Desktop.
This file contains 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
takePicture = async () => { | |
if (this.camera) { | |
const options = { quality: 0.5, base64: true }; | |
const data = await this.camera.takePictureAsync(options) | |
alert(data.uri); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment