Coder Social home page Coder Social logo

Comments (12)

Ashoat avatar Ashoat commented on May 28, 2024 4

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.

Ashoat avatar Ashoat commented on May 28, 2024 2

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.

tsalama avatar tsalama commented on May 28, 2024 1

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.

Ashoat avatar Ashoat commented on May 28, 2024

@harisbaig100, friendly ping! :)

from clipboard.

Naturalclar avatar Naturalclar commented on May 28, 2024

@Ashoat sounds great! I'll be open for a PR to have this implemented.

from clipboard.

watadarkstar avatar watadarkstar commented on May 28, 2024

Very interested in this!

from clipboard.

tvpranav avatar tvpranav commented on May 28, 2024

@Ashoat @Naturalclar @watadarkstar @harisbaig100 Have you guys get any way to copy image to clipboard in iOS react-native? Please Help!!

from clipboard.

JulesPatry avatar JulesPatry commented on May 28, 2024

Also interested in this!

from clipboard.

roryabraham avatar roryabraham commented on May 28, 2024

👍 would love to see this 👍

from clipboard.

Ashoat avatar Ashoat commented on May 28, 2024

@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.

nguyentuanit97 avatar nguyentuanit97 commented on May 28, 2024

.

from clipboard.

karaolidis avatar karaolidis commented on May 28, 2024

Any updates on this? I tried using react-native-file-provider as an alternative implementation with little success 🤔

from clipboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.