react-native-clipboard-plus
React Native module for copy and paste image with Native Clipboard (currently iOS only)
Installation
yarn add react-native-clipboard-plus
npx pod-install
Usage
import ClipboardPlus from 'react-native-clipboard-plus';
const pasteResult = await ClipboardPlus.paste();
await ClipboardPlus.clearAll();
const copyResult = await ClipboardPlus.copyText('Text to be copied');
const copyResult = await ClipboardPlus.copyUrl('https://www.google.com/');
const copyResult = await ClipboardPlus.copyImage(base64, uri);
Example
Open folder example. Run commands and see the example demo
cd example
yarn install
yarn ios
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT