barrsan / react-native-simple-image-cropper

MIT License
59 stars 28 forks source link

android does not recognize gesture #31

Open risingsunho opened 4 years ago

risingsunho commented 4 years ago

my package.json is

{ "name": "Test", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@react-native-community/image-editor": "^2.1.0", "react": "16.13.1", "react-native": "0.63.2", "react-native-gesture-handler": "^1.6.1", "react-native-reanimated": "^1.8.0", "react-native-redash": "^12.0.2", "react-native-simple-image-cropper": "^3.1.0" }, "devDependencies": { "@babel/core": "^7.11.6", "@babel/runtime": "^7.11.2", "@react-native-community/eslint-config": "^2.0.0", "babel-jest": "^26.3.0", "eslint": "^7.9.0", "jest": "^26.4.2", "metro-react-native-babel-preset": "^0.63.0", "react-test-renderer": "16.13.1" }, "jest": { "preset": "react-native" } } when i run example project, it works fine. but when i install and run with 'npm install' android device doesn't recognize gestures.

gomes42 commented 3 years ago

Are you using a Modal or a View?

eng-naveed commented 1 year ago

I fixed it by wrapping App.tsx in