mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
595b569ead
Summary: In SurfaceMountingManager/MountingManager/FabricUIManager infra, we try to blackhole events that are sent to a stopped surface. In this case I just forgot to add a null check. Add here to protect against events sent to stopped surfaces - for example, if a TextInput is focused when the surface is stopped, a "blur" event will be sent and will crash here otherwise. Now it blackholes silently, as expected. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D26031260 fbshipit-source-id: 9936466ca2d00267efaf7fa594c9bcd59f7aad2a
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.