How to use the react-native-image-marker.ImageFormat.base64 function in react-native-image-marker

To help you get started, we’ve selected a few react-native-image-marker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JimmyDaddy / react-native-image-marker / example / markerExample / App.js View on Github external
}).then((path) => {
        this.setState({
          show: true,
          uri: this.state.saveFormat === ImageFormat.base64 ? path : Platform.OS === 'android' ? 'file://' + path : path,
          loading: false
        })
      }).catch((err) => {
        console.log('====================================')
github JimmyDaddy / react-native-image-marker / example / markerExample / App.js View on Github external
_switchBase64Res = () => {
    this.setState({
      saveFormat: this.state.saveFormat === ImageFormat.base64 ? ImageFormat.png : ImageFormat.base64
    })
  }