Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

ios-scratch-n-see react-native #24

Open
rstormsf opened this issue Feb 9, 2017 · 2 comments
Open

ios-scratch-n-see react-native #24

rstormsf opened this issue Feb 9, 2017 · 2 comments

Comments

@rstormsf
Copy link

rstormsf commented Feb 9, 2017

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.

@jgrancher
Copy link
Owner

@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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants