How to use the react-native-camera-kit.CameraKitGallery.getImageForTapEvent function in react-native-camera-kit

To help you get started, we’ve selected a few react-native-camera-kit 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 Bruno-Furtado / fastbuy-app / src / screens / GalleryScreen.js View on Github external
onTapImage(event) {
    Actions.loadingLightbox();
    CameraKitGallery.getImageForTapEvent(event.nativeEvent)
      .then((image) => {
        this.props.productUpdate({ prop: 'imageUrl', value: image.imageUri });
        Actions.pop(); // pop the lightbox
        Actions.pop(); // back to product screen
      });
  }

react-native-camera-kit

A high performance, fully featured, rock solid camera library for React Native applications

MIT
Latest version published 9 days ago

Package Health Score

79 / 100
Full package analysis

Similar packages