- Support Xcode 11 - Xcode 10 is no longer supported
- Support centering bottomTab icons using bottomTabs.titleDisplayMode #26d3d82 by yogevbd
- Prevent creation of button react view with the same componentId #1807c5b by yogevbd
- Automatically apply DrawBehind when tabs are hidden #002b7d8 by guyca
- Fix button disabled color has no effect #b66ff1d by guyca
- Fix BottomTabs background color changing to white background sometimes #57eb0db by guyca
- Include commandName in commandCompleted event #b904608 by jpgarcia
- Fix crash when title component is destroyed right after being attached #39ee170 by guyca
- Fix NPE when component appears under certain conditions #35851fc by heroic
- Apply layout direction directly on TopBar buttons container #14b5221 by guyca
- Fix title component disappearing after mergeOptions #6d446a8 by guyca
- [stable] Introduce Navigation.updateProps command #0eb0570 by guyca
- Fix applying merged backButton options #aef5b2e by guyca
- Remove duplicate setDefaultOptions in UIViewController categories #0d31e30 by danilobuerger
- Don’t consume SideMenu enabled option after applying it in mergeOptions #9faf458 by guyca
- supportedInterfaceOrientations didn’t take default orientation value into account #9faf458 by guyca
- SideMenu always returned the centre ViewController as the current child and didn’t take open SideMenu into account #9faf458 by guyca
- Stop recursive double setting of default options #d5c92b1 by danilobuerger
- Immediately unmount buttons removed by mergeOptions, instead of unmounting them when screen is unmounted #65dde34 by yogevbd
- Fix replacing react title with text title not working #b434b4f by FRizzonelli
- Fix merging TopBar title, buttons and status bar options, broke in 3.1.1 #5409a62 by guyca
- Support RN 0.60
- Migrate to AndroidX
- Improve draw behind StatusBar
Added statusBar.translucent
boolean property
- BottomTabs are not pushed upwards when keyboard opens
- Removed SyncUiImplementation
SyncUiImplementation was used to overcome a bug in RN’s UiImplementation. This workaround was added to RN’s
UiImplementation
in RN 0.60 and can be removed from RNN.
If you’re using SyncUiImplementation
your app will fail to compile after upgrading to v3. Simply remove the following code from your MainApplication.java
- import com.facebook.react.uimanager.UIImplementationProvider;
- import com.reactnativenavigation.react.SyncUiImplementation;
- @override
- protected UIImplementationProvider getUIImplementationProvider() {
- return new SyncUiImplementation.Provider();
- }
BottomTab badge and dot indicator are not animated by default.
The following option will show a badge with animation
bottomTab: {
badge: 'new,
animateBadge: true
}
The following option will show a dot indicator with animation
bottomTab: {
dotIndicator: {
visible: true,
animate: true
}
}
Stack, BottomTabs and SideMenu are drawn behind StatusBar.
While parent controllers are drawn behind the StatusBar, their background isn’t.
This means that when transitioning from a destinations drawn under the StatusBar to a destination drawn behind it, the application’s default background color will be visible behind the StatusBar.
If you application’s theme is dark, you might want to change the windowBackground
property to mitigate this:
Add the following to your application’s style.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@color/backgroundColor</item>
</style>
<item name="backgroundColor" type="color">#f00</item>
</resources>
Introduce Navigation.updateProps
command #0eb0570 by guyca
Fix compilation error on Xcode 10.x #99ddcd8 and #83f03cd by yogevbd
Don’t merge null bottomTab.selectedIconColor and bottomTab.iconColor #c48ed74 by guyca
Support updating component props with Navigation.mergeOptions #291f161 by justtal
Support bottomTab.selectedIcon #45e8389 by guyca
Font weight option support on iOS #f283e15 by yogevbd
- Fix status bar disappear when presenting native camera screen on iOS #6cfde5e by yogevbd
- Immediately unmount buttons removed by mergeOptions, instead of unmounting them when screen is unmounted #65dde34 by yogevbd
- Don’t consume SideMenu enabled option after applying it in mergeOptions #9faf458 by guyca
- supportedInterfaceOrientations didn’t take default orientation value into account #9faf458 by guyca
- SideMenu always returned the centre ViewController as the current child and didn’t take open SideMenu into account #9faf458 by guyca
- Remove duplicate setDefaultOptions in UIViewController categories #452c4e6 by danilobuerger
- Fix TopBar, title, buttons and StatusBar which broke in the previous release #8044b2d by guyca
- Fix defaultOptions not being applied if called after setRoot #338b096 by guyca
- Support passing null color to StatusBar backgroundColor and bottom tab icon color #3519837 by guyca
- Apply TopBar buttons only if they are different than current buttons #f15e9b3 by guyca
- Ensure appLaunched event is emitted only when app is resumed #21584fd by guyca
- Fix Constants.topBarHeight being zero if root ViewController isn’t a NavigationViewController #f19e523 by guyca
- Fixed buggy currentTabIndex when calling setRoot multiple times #cd182f4 by guyca
- Handle simultaneous recognizers, Fixes a crash when tapping on the screen with other gesture recognizers active #a5b9f58 by jordoh
- Fix prevent retaining button component in componentRegistry #0186b1a by yogevbd
- Fix and refactor animations options #a98f187 by yogevbd
- Fix display empty custom topBar background over valid custom background #6cb1e18
by RoTTex
- passProps passed to setStackRoot and showOverlay can specify type with generics #bc23fba by henrikra
- passProps passed to showModal can specify type with generics #34f37aa by ruscoder
- Fix closing sideMenu when pushing a screen #dc739de by guyca
- Orientation.hasValue returns false for default orientation #43ae659 by guyca
- Measure TopBar buttons using using MeasureSpec.UNSPECIFIED #dd93c51 by guyca
- Add
layout.componentBackgroundColor
option - This option is used to set background color only for component layouts. #cb48065 by guyca
- SetStackRoot now accepts an array of children which will replace the current children. #2365e02 by guyca
- Fix setting bottomTabs.currentTabIndex on bottomTabs init #631e7db by yogevbd
Skipped versions due to CI maintenance
- Fix title.font when subtitle supplied - Font wasn’t applied on title, when subtitel was provided. #14a5b74 by yogevbd
- Fix invisible modals edge case. When an Overlay was displayed before setRoot was called, Consecutive Modals and Overlays were attached to the wrong window. #b40f8ed by yogevbd
- popGesture on stack root freezes the app #4388 by yogevbd
- setRoot on main application window - fix setRoot on iPad a3922f8 by yogevbd
- Fix “Multiple commands produce…” build error on Xcode 10 #b5d300f by yogevbd
- Avoid calling component generators on registerComponent #708d594 by yogevbd