Comments (12)
I still want to do this, but it may be a couple months before I can get to it unfortunately. If somebody gets to it before me that would be great, otherwise I will check back in when I get started :)
from clipboard.
We specifically wanted to add the ability to paste into a TextInput
. To do this we ended up needing to make some patches to react-native
, and it ultimately didn't have to do with this package at all. You can see the patch here, and you can look around that repo to see how we're using it exactly.
from clipboard.
Clipboard.setImage
is already available/working for me on iOS but it says iOS only. Would love support for Android.
/**
* (iOS Only)
* Set content of base64 image type. You can use following code to set clipboard content
* ```javascript
* _setContent() {
* Clipboard.setImage(...);
* }
* ```
* @param the content to be stored in the clipboard.
*/
setImage(content: string): void;
from clipboard.
@harisbaig100, friendly ping! :)
from clipboard.
@Ashoat sounds great! I'll be open for a PR to have this implemented.
from clipboard.
Very interested in this!
from clipboard.
@Ashoat @Naturalclar @watadarkstar @harisbaig100 Have you guys get any way to copy image to clipboard in iOS react-native? Please Help!!
from clipboard.
Also interested in this!
from clipboard.
👍 would love to see this 👍
from clipboard.
@atulsmadhugiri just put up a PR to add the ability to programmatically retrieve images from the clipboard! This is only part of the story... the ability to programmatically set the clipboard is missing, and as mentioned above the TextInput
stuff requires patching react-native
itself.
from clipboard.
.
from clipboard.
Any updates on this? I tried using react-native-file-provider as an alternative implementation with little success 🤔
from clipboard.
Related Issues (20)
- Copy Gif To Clipboard HOT 1
- andriod build failed
- Hide Eclipse
- Cannot use the attributes of Clipboard in windows
- Unable to empty clipboard :) HOT 1
- Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. HOT 7
- [Android-New Arch] Cannot specify link libraries for target "react_codegen_RNCClipboard" which is not built by this project HOT 15
- Can we deprecate the NPM package for @react-native-community/clipboard
- no idea why need to link
- How get to work with Expo HOT 1
- App Hanging: App hanging for at least 2000 ms. Happens for iOS devices only. HOT 3
- Clear the clipboard
- Android: After upgrading to React Native version 0.73, build failed HOT 7
- Monorepo REACT_NATIVE_NODE_MODULES_DIR error HOT 2
- Getting "copied" send to device in android 13 HOT 1
- Task :react-native-community_clipboard:compileDebugJavaWithJavac FAILED HOT 14
- SetString("") not clear Gboard's clipboard
- Expose access to EXTRA_IS_SENSITIVE for setString on Android
- Error to Deploy to Android RN 0.73.2 HOT 6
- ios listener not being called
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard.