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 1 month ago

Package Health Score

86 / 100
Full package analysis

Similar packages