Giter VIP home page Giter VIP logo

Comments (12)

iqorlobanov avatar iqorlobanov commented on May 27, 2024 4

I solved it this way: cd android && ./gradlew clean

from clipboard.

Naturalclar avatar Naturalclar commented on May 27, 2024 3

Unfortunately, this module is not compatible with Expo, since expo only works with preinstalled native modules. If you're using Expo with managed workflow, please use the Clipboard module exported from react-native

from clipboard.

Jorciney avatar Jorciney commented on May 27, 2024 2

I had the same issue with Android.
Weird enough I had to do a pod install:
cd ios && pod install && cd ../
after that, I ran react-native run-android and it worked.

from clipboard.

roshnet avatar roshnet commented on May 27, 2024 2

Seems like using the native alternative (deprecated) is the only workaround for now. The community version just doesn't work with Expo. I tried a lot, including using useClipboard hook, but have to now settle with using the deprecated version. At least it doesn't throw that ugly error.

from clipboard.

dheysonalves avatar dheysonalves commented on May 27, 2024

I am with this issue too, but in the Native enviroment. Gonna try this too @Jorciney .

from clipboard.

Jorciney avatar Jorciney commented on May 27, 2024

@dheyson good luck!

from clipboard.

narkai avatar narkai commented on May 27, 2024

@Jorciney are you using React Native with Expo (managed project) ?

Unfortunately I think it's not recommended to use pod install with Expo (managed project)...

from clipboard.

Jorciney avatar Jorciney commented on May 27, 2024

@lapico You are right, I'm not using Expo.

from clipboard.

narkai avatar narkai commented on May 27, 2024

I confirm this, I also use the deprecated version because the community one does not work with Expo.

Strange fact, the community version seemed to work in the tests (Jest).

from clipboard.

BiYuqi avatar BiYuqi commented on May 27, 2024

I solved it this way: cd android && ./gradlew clean

This answer is the correct one. thank you!

from clipboard.

ajstharsan-radus28 avatar ajstharsan-radus28 commented on May 27, 2024

Stil this is open?

from clipboard.

kunalsolanki1992 avatar kunalsolanki1992 commented on May 27, 2024

I am still facing this issue. Any update on this?

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.