1.0.0 • Published 7 years ago
react-native-image-clipboard v1.0.0
react-native-react-native-image-clipboard
Getting started
$ npm install react-native-react-native-image-clipboard --save
Mostly automatic installation
$ react-native link react-native-react-native-image-clipboard
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-react-native-image-clipboardand addRNReactNativeImageClipboard.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNReactNativeImageClipboard.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Android
Currently not Supported !
Usage
import RNImageClipboard from 'react-native-react-native-image-clipboard';
const imageFromClipboard = await RNImageClipboard.getBase64Image();
RNImageClipboard.addBase64Image(imageFromClipboard);1.0.0
7 years ago