showing results for - "react native better camera"
Salvatore
12 Jan 2017
1import React, { Component } from 'react';import RNBetterCamera from 'react-native-better-camera';; class RNBetterCameraPage extends Component {  onSend = (savedImageUri, textInputValue) => {    console.log('savedUmageUri = ', savedImageUri);    console.log('textInputValue = ', textInputValue);    // send image & text to server  }  onClose = () => {    // navigate to the next page of your application    Actions.home();  }   render() {    return (      <RNBetterCamera        onSend={this.onSend}        onClose={this.onClose}        shouldSaveToCameraRoll={true}        withTextInput={true}        textInputPlaceholder="TYPE YOUR NAME ..."      />    );  }}