react-native-sketch
react-native-sketch copied to clipboard
ios-scratch-n-see react-native
Hi guys, Is there a way to do https://github.com/moqod/ios-scratch-n-see in React Native? Or should I wrap this module and provide a JS bridge to use that lib? or maybe I can use sketch to imitate the same functionality?
FYI - I'm getting like 30 errors when I try to build sketch into my react-native project after linking it.
I tried to run in on RN 0.41.2 and downgraded version of 0.40.0
with 0.41.2 there are 30 Xcode errors with 0.40.0 there are 18 xcode errors
react-native-cli 2.0.1
Any help would be appreciated.
@rstormsf You may have had issues because of RN > 0.40 headers breaking change. Can you try now by using the master
branch of react-native-sketch? (until I push a major bump on npm that will contain that fix)
Regarding the "scratch-n-see" feature, I can't think of a way of doing it. It would mean "reverting" the way of drawing - having a full background and drawing with a "transparent" color over it... If someone knows how it would be possible to achieve that, please chime in! 🤔