react-native-sketch icon indicating copy to clipboard operation
react-native-sketch copied to clipboard

ios-scratch-n-see react-native

Open rstormsf opened this issue 8 years ago • 2 comments

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 screen shot 2017-02-08 at 5 17 53 pm

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 avatar Feb 09 '17 01:02 rstormsf

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

jgrancher avatar Apr 27 '17 14:04 jgrancher

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! 🤔

jgrancher avatar Apr 27 '17 15:04 jgrancher