leecade / leecade/react-native-swiper
Module RCTEventEmitter is not a registered callable module (calling receiveTouches)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ? ubuntu 18.04
Version
Which versions are you using:
- react-native-swiper 1.5.14?
- react-native 0.60.5
Code
my code is:
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import Swiper from 'react-native-swiper';
`const styles = StyleSheet.create({`
` wrapper: {},`
` slide1: {`
` flex: 1,`
` justifyContent: 'center',`
` alignItems: 'center',`
` backgroundColor: '#9DD6EB'`
` },`
` slide2: {`
` flex: 1,`
` justifyContent: 'center',`
` alignItems: 'center',`
` backgroundColor: '#97CAE5'`
` },`
` slide3: {`
` flex: 1,`
` justifyContent: 'center',`
` alignItems: 'center',`
` backgroundColor: '#92BBD9'`
` },`
` text: {`
` color: '#fff',`
` fontSize: 30,`
` fontWeight: 'bold'`
` }`
`})`
class HomeScreen extends Component {
render() {
return (
<Swiper style={styles.wrapper} showsButtons={true}>
<View style={styles.slide1}>
<Text style={styles.text}>Hello Swiper</Text>
</View>
<View style={styles.slide2}>
<Text style={styles.text}>Beautiful</Text>
</View>
<View style={styles.slide3}>
<Text style={styles.text}>And simple</Text>
</View>
</Swiper>
)
}
}
``
export default HomeScreen;
Actual behaviour
the result of code is :

help me please
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported error using Ubuntu 18.04, react-native-swiper 1.5.14, react-native 0.60.5, and the supplied HomeScreen example. Start by checking the interaction between the Swiper component and React Native touch handling; done means the example runs without the RCTEventEmitter receiveTouches error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100