leecade / leecade/react-native-swiper

Module RCTEventEmitter is not a registered callable module (calling receiveTouches)

Open
#1,066 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Resolution: Old Version
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 :

Screenshot_2019-09-22-10-00-50

help me please

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.