On the compatibility of 1 + (one plugs) Mobile phone in react-native

there is a very thorny problem in using react-native development, and the government has not fixed this bug, to ask you if you have a good strategy to solve this problem.
when you open the RN application in a 1 + phone, there will be an error in the three-finger sliding interface. It is also found that the bug, is still open in RN.
RN issue address is: https://github.com/facebook/r.

Screenshot of error message:

https://user-images.githubusercontent.com/15712862/35406775-d5d15efa-01d7-11e8-88a2-05f957f42444.jpg

clipboard.png

error message is: Cannot record touch end without a touch start.

have any friends encountered this problem? Maybe there"s a solution. Please.

Mar.16,2021

I temporarily modify the react-native source code to prevent it from interrupting the program. There is no problem for the time being, but this is not a solution. I hope Facebook officials can fix this bug.


the above practice is a little too violent, so you can rewrite console.error, because this is what caused the red screen


temporary solution:

// 
console.reportErrorsAsExceptions = false

this problem on github has been turned off, and only collaborators can reply. I used
console.reportErrorsAsExceptions = false
this to solve the problem of error reporting.
git says version 0.53, and now it's version 0.6.
I use 0.57.6. This error will be reported if there is an echarts diagram!

Menu