react-native-clipboard-plus
React Native module for copy and paste image with Native Clipboard (currently iOS only)
Installation
yarn add react-native-clipboard-plusnpx pod-install
Usage
; // Paste string and/or images from Native Clipboardconst pasteResult = await ClipboardPlus; // Clear contents from Native Clipboardawait ClipboardPlus; // Copy text into Native Clipboardconst copyResult = await ClipboardPlus; // Copy URL into Native Clipboardconst copyResult = await ClipboardPlus; // Copy base64 string into Native Clipboardconst copyResult = await ClipboardPlus;
Example
Open folder example. Run commands and see the example demo
cd exampleyarn installyarn ios
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT