Aleksei Ledak
Aleksei Ledak
There are changes in native module declaration in fresh RN versions. Try this small fix: https://github.com/Shuangzuan/RCTRefreshControl/pull/10
@MossP, i fixed this error (**"Cannot find view with tag"**) by adding timeout before: ``` javascript componentDidMount() { setTimeout(() => { RCTRefreshControl.configure({ node: this.refs[SCROLLVIEWREF], tintColor: '#cccccc', activityIndicatorViewColor: '#cccccc' }, ()...
https://github.com/Shuangzuan/RCTRefreshControl/issues/11#issuecomment-121817785
UIRefreshControl was implemented for ScrollView in react-native: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollView/ScrollView.js#L289 So this module is no longer needed.
Are there any solutions? Have this error (using https://github.com/Shuangzuan/RCTRefreshControl), while running on device as well.
@dacaiji , you should use it as ReactNative method. Add this line to beginning: `import ReactNative from 'react-native';` After change React.findNodeHandle() to **ReactNative**.findNodeHandle()
> I have a PR open that will fix this, and it will be in the next release. Any news when the next release will be available?
Your data does not contain 'createdAt' and 'modifiedAt' properties. Try this: `const data = { id: this.state.id, content: text, createdAt: new Date(), modifiedAt: new Date() }` Also, you should check...
Any updates on this? We can't use Realm with the current RN version for more than a month.
@plouh , I've upgraded to **babel-preset-react-native 5.0.2** a long time ago too, but it didn't help. BTW, I think I've found a solution! Production build no longer crashes after I...