mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Summary: Public We wanted to do this before, but couldn't because touch events had timestamps set by the system (and matched System.currentTimeMillis), but now we set those timestamps! The idea behind this change is that System.currentTimeMillis is unreliable, but nanoTime isn't, and it also guarantees that we will never have two events with the same timestamp. We're still seeing crashes with touch events not ending correctly in JS, this might be the cause of that. Reviewed By: foghina Differential Revision: D2953917
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.