Unsupported topTouchStart event type sent when upgrading to version 24.0.0

I am creating a project responsible for the reaction, as an example for my blog, but it unexpectedly got errors while updating expo to sdk version 24.0.0 .

enter image description here

app.json

 { "name": "TipCalculator", "displayName": "rn_tip_calculator", "expo": { "name": "TipCalculator", "slug": "rn-tip-calculator", "sdkVersion": "24.0.0" } } 

package.json

 { "name": "rn_tip_calculator", "version": "0.0.1", "private": true, "author": "GeniusDoan < nhoxbypass@gmail.com > (https://github.com/nhoxbypass)", "repository": "https://github.com/HCMUS-IceTeaViet-SE/rn_tip_calculator", "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "expo": "^24.0.0", "react": "^16.0.0", "react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz", "react-native-deprecated-custom-components": "^0.1.0", "react-native-i18n": "^1.0.0", "react-native-segmented-control-tab": "^3.0.1" }, "devDependencies": { "babel-jest": "19.0.0", "babel-preset-react-native": "1.9.1", "jest": "19.0.2", "react-test-renderer": "16.0.0" }, "jest": { "preset": "react-native" } } 

This problem is quite known in November 2017, I read a lot of questions about Github, it happened with native-native v50.0. But in my project I try to use the latest version responsible for the reaction (v51.0) and the fork version to respond to changes, but it does not work.

I am working on Android 6.0.

Any help would be appreciated!

+7
react-native react-native-android
source share
1 answer

These issues appear to be the React Native bug discussed here with the workaround described here.

https://github.com/facebook/react-native/issues/16522#issuecomment-345513116

+3
source share

All Articles