Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when touching screen with 3 fingers #312

Closed
tusharkhatiwada opened this issue Jul 15, 2017 · 13 comments
Closed

App crashes when touching screen with 3 fingers #312

tusharkhatiwada opened this issue Jul 15, 2017 · 13 comments

Comments

@tusharkhatiwada
Copy link

Description

As mentioned on the title, the app crashes after touching the screen with three fingers both in development and production version.
I have a One Plus 2 device and I needed to take a screenshot of my app. It has Three-finger screenshot gesture control. The app simply restarts on the production version but displays the following error on development version.

screenshot_20170715-204307

Error Message

Cannot record touch end without a touch start.
Touch End: %s
 Touch Bank: %s {"identifier":2,"pageX":97,"pageY":320,"timestamp":78140617} [{"touchActive":false,"startPageX":198.3333282470703,"startPageY":270.3333435058594,"startTimeStamp":78140609,"currentPageX":198.3333282470703,"currentPageY":270.3333435058594,"currentTimeStamp":78140617,"previousPageX":198.3333282470703,"previousPageY":270.3333435058594,"previousTimeStamp":78140609},{"touchActive":false,"startPageX":293,"startPageY":306.6666564941406,"startTimeStamp":78140615,"currentPageX":293,"currentPageY":306.6666564941406,"currentTimeStamp":78140617,"previousPageX":293,"previousPageY":306.6666564941406,"previousTimeStamp":78140615}]

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: react-native-scripts@0.0.40
  • npm ls react-native: react-native@0.45.1
  • npm ls expo: expo@18.0.6
  • node -v: v7.4.0
  • npm -v: 4.6.1
  • yarn --version: 0.27.5
  • watchman version: "version": "4.7.0"

Also specify:

  1. Operating system: MacOS Sierra 10.12.6 beta
  2. Phone/emulator/simulator & version: One Plus 2
@brentvatne
Copy link
Member

Hello! This appears to be an upstream React Native issue. I created an issue on the react-native repository for you: facebook/react-native#15059

If possible please provide a link to an example application on Github where this happens for you. If it happens just on any new project, let us know in that thread. Thank you so much for the report!

@tusharkhatiwada
Copy link
Author

@brentvatne This issue isn't on the app created with react-native init. Here's the app on the play store created with CRNA .
https://play.google.com/store/apps/details?id=com.ictechmedia.ictaward

@tusharkhatiwada
Copy link
Author

The issue is device specific. It's only on One Plus 2. I've tested with some other devices, but they didn't crash.

@brentvatne
Copy link
Member

@tusharkhatiwada - so it happens on a brand new app created with CRNA but not on a brand new app created with react-native init?

@tusharkhatiwada
Copy link
Author

@brentvatne Sorry. I just tested with react-native init and it's showing the same error too. I had an App built few months back and wasn't showing the error. So that means the error is with the latest version of react-native.
Sorry, I opened the issue on wrong repo.

@csgsky
Copy link

csgsky commented Jul 26, 2017

i find this problem too, do you have any solution?

@brentvatne
Copy link
Member

@csgsky - sorry to hear that. I see you commented on facebook/react-native#15059 -- that's your best bet for a resolution. feel free to investigate a solution on your own as well and submit a PR!

@amitkumarsingh1991
Copy link

@brentvatne , i am also same issue in MI , try to figure out root cause ,please provide solution, Thanks in advance

@mojotti
Copy link

mojotti commented Feb 20, 2018

Same issue on OnePlus 5

@gregoriohc
Copy link

I also have this problem and I have proposed some workarounds and possible solution on the react-native issue: facebook/react-native#15059 (comment)

@hassaanmirza
Copy link

Same issue on Oppo A57

@attilapolgar
Copy link

Same issue on OnePlus 5T

@anp
Copy link
Contributor

anp commented Jul 10, 2018

Hi everyone, the upstream react native issue is where to track/report this. Thanks!

@expo expo locked and limited conversation to collaborators Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants