react-native-macos/ReactAndroid
Joshua Gross a78a7166b8 Throw soft-error and continue when removing view from parent with incorrect index
Summary:
iOS Fabric actually ignores the `index` property and just uses parent and child tags to remove the child from a parent. This brings Android slightly closer to iOS: we try to use the index, but if the index is incorrect, we either (1) throw if the child isn't contained in the parent, or (2) find the correct index, and continue.

In debug, this will still crash, so we'll get more signal about why this happens.

Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D24056375

fbshipit-source-id: 07507cc32ad02505d3271fc95ecb45d080109078
2020-10-01 20:13:58 -07:00
..
libs Upgrade Android support library to version 28 in RN 2019-01-22 10:44:53 -08:00
src Throw soft-error and continue when removing view from parent with incorrect index 2020-10-01 20:13:58 -07:00
.npmignore
Android-prebuilt.mk TurboModule Android: properly set up RNTester ndkBuild and cleanup dependencies 2020-09-29 18:41:14 -07:00
DevExperience.md Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
README.md Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
build.gradle Codegen Android: Compile ReactAndroid codegen C++ output 2020-09-21 11:09:12 -07:00
gradle.properties Fix React Native Robolectric 4.4 deps (#30073) 2020-09-29 22:51:46 -07:00
proguard-rules.pro Add ProGuard rule for hermes (#28571) 2020-04-09 13:48:55 -07:00
release.gradle Tidy up license headers [1/n] 2019-10-16 10:06:33 -07:00

README.md

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.