Open EnnamWigroup opened 5 years ago
Hello,
This module works perfectly on Android but not on iOS. Can you please let us know if your project actually works with the below : "react": "16.8.3", "react-native": "0.59.8", Thanks
Hello,
I'm having the same error using; "react": "16.8.3", "react-native": "0.59.10".
Tried react-native link & manual linking none of them has worked.
@ozankasikci , I managed to get it to work.
Just follow the installation instruction as normal.
Then, simply copy the ' ios ' folder from ~/node_modules/react-native-scratch into your own project( open up your project's workspace on xcode and create a folder 'react-native-scratch' and paste all of the copied contents there.
That's all. In your react-native project, on JS side, simply import the module still from 'react-native-scratch.
Use it as per the guide.
The only thing that changed on iOS side is that we've moved this lib's iOS source files into our own iOS project.
It might be that some references broke and that's why it isn't working on the latest react-native version
@avinashlng1080 thanks for the quick reply, by installation instruction are you referring to manual installation?
Nope - automatic installation. Then follow the guide to see how to use it in your project.
Thanks, got it working!
@avinashlng1080 Hi I couldn't get it working on android. Getting this error 'requireNativeComponent: "RNTScratchView" was not found in the UIManager'. any idea how can resolve this issue on android?
MacOs High Sierra 10.13.6 React: 16.8.3 React-Native : 0.59.10
@avinashlng1080 thanks for the quick reply, by installation instruction are you referring to manual installation?
Thanks, got it working!
I don't get it to work for react native 0.61.5, please help me with some instructions
@avinashlng1080 thanks for the quick reply, by installation instruction are you referring to manual installation?
Thanks, got it working!
I don't get it to work for react native 0.61.5, please help me with some instructions
As you're over RN 0.60, try this out (https://github.com/ConduitMobileRND/react-native-scratch/issues/8#issuecomment-699642534)
Hi,
Please note both react-native link react-native-scratch and manual installation are not working for ios.
Issue that we are currently experiencing are as follows :
**_ild/Intermediates.noindex/RNScratch.build/Debug-iphonesimulator/RNScratch.build/Objects-normal/x86_64/RNTScratchViewManager.o /Users/userxxx/scratch/node_modules/react-native-scratch/ios/RNTScratchViewManager.m:3:9: fatal error: 'React/RCTViewManager.h' file not found
import <React/RCTViewManager.h>_**
__ Steps to reproduce :