react-native-image-clipboard
v1.0.0
Published
## Getting started
Downloads
26
Readme
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-clipboard
and addRNReactNativeImageClipboard.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNReactNativeImageClipboard.a
to 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);