Fix setStackRoot crash when called with the same id (#5154)
When a Stack’s root was set with an id of one of the Stack’s current children, there was a crash
since the wrong elements were removed from the stack.
This commit fixes this by creating a new stack when setStackRoot is called, and destroying all ViewControllers from the previous Stack.
Fixes #5117
Fix Topbar custom component flicker across screens #3864 (#5110)
When a topBar.backgroundComponent is defined, check if a corresponding ReactView has already been created with matching componentName and componentId. If such view is found, reuse it instead of creating another view.
This change will fix a flickering in the TopBar background component when a screen was pushed into a stack with a background component.
Explicitly clear bottom tabs options after mergeOptions (#5107)
When mergeOptions was called on a root view, it’s one time options weren’t cleared properly.
The entire one time options logic is terrible and has to be refactored out.
Fixes #5010
* Support RN 0.59
* Fix yellow box detection on Android
* Manually link jsc on iOS in playground app
* Fix android unit tests
* Add JavaScriptCore.framework to iOS unit tests
* Download licenses before unit and e2e tests
* Update gradle-wrapper.properties
* Handle simultaneous recognizers
Fixes a crash when tapping on the screen with other gesture recognizers active.
* Remove unneeded respondsToSelector override
* [V2][iOS] Fix bottomTabs’s animate option
Signed-off-by: wilson <wilson@waveo.com>
* change animated default value to false
Signed-off-by: wilson <wilson@waveo.com>
* fix self.tabBar.hidden value
Signed-off-by: wilson <wilson@waveo.com>
* Fix tests
Signed-off-by: wilson <wilson@waveo.com>
* fix value check
Signed-off-by: wilson <wilson@waveo.com>