Changelog
3.1.0
Added
- Support passing null color to StatusBar backgroundColor and bottom tab icon color #3519837 by guyca
Fixed
Android
3.0.0
Android
- 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>
<!--This is your application's default background color.
It will be visible when the app is first opened (while the splash layout is visible)
and when transitioning between a destination a screen drawn under the StatusBar to
a destination drawn behind it-->
<item name="backgroundColor" type="color">#f00</item>
</resources>
2.27.0
Added
- Support passing null color to StatusBar backgroundColor and bottom tab icon color #3519837 by guyca
Fixed
Android
2.26.1
Fixed
iOS
2.26.0
Fixed
Android
- Apply TopBar buttons only if they are different than current buttons #f15e9b3 by guyca
2.25.0
Fixed
Android
- Ensure appLaunched event is emitted only when app is resumed #21584fd by guyca
2.24.0
Added
Fixed
Android
iOS
2.23.0
Added
Fixed
Android
iOS
2.22.3
Fixed
iOS
- Fix Constants.topBarHeight being zero if root ViewController isn’t a NavigationViewController #f19e523 by guyca
2.22.2
Added
iOS
Fixed
iOS
2.22.1
Fixed
iOS
Android
2.21.1
Fixed
iOS
2.21.0
Added
Fixed
Safer check around component listener trigger #51d1b66 by dozoisch
Android
Emit SideMenu visibility events #7ee9c12 by guyca
Fix setStackRoot crash when called with the same id #3c08b1c by guyca
Fix crashes related to race conditions around ViewController.destroy #f2e46ea by guyca
2.20.2
Fixed
iOS
2.20.1
Fixed
2.20.0
Fixed
2.19.1
Fixed
Android
2.19.0
Added
Fixed
iOS
Android
- Fixed buggy currentTabIndex when calling setRoot multiple times #cd182f4 by guyca
2.18.5
Fixed
iOS
- Handle simultaneous recognizers, Fixes a crash when tapping on the screen with other gesture recognizers active #a5b9f58 by jordoh
2.18.4
Fixed
iOS
2.18.3
Fixed
iOS
2.18.2
Fixed
iOS
2.18.1
Fixed
iOS
2.18.0
Fixed
2.17.0
Fixed
iOS
Android
2.16.0
Fixed
iOS
2.15.0
Added
Fixed
iOS
- 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
2.14.0
Fixed
Android
iOS
2.13.1
Fixed
2.13.0
Added
Fixed
iOS
Android
2.12.0
Added
Android
Fixed
iOS
2.11.0
Fixed
iOS
Android
2.10.0
Added
iOS
Fixed
iOS
Android
2.9.0
Fixed
iOS
Android
2.8.0
Added
- 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
Android
Fixed
iOS
2.7.1
Fixed
Android
2.7.0
Added
Fixed
Android
2.6.0
Added
iOS
Fixed
Android
iOS
2.5.2
Fixed
Android
2.5.1
Fixed
Android
2.5.0
Fixed
Android
iOS
2.4.0
Added
Android
Fixed
Android
- 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
v2.3.0
Added
Android
- Add
layout.componentBackgroundColor
option - This option is used to set background color only for component layouts. #cb48065 by guyca
Fixed
- SetStackRoot now accepts an array of children which will replace the current children. #2365e02 by guyca
Android
v2.2.5
Added
Fixed
iOS
- Fix setting bottomTabs.currentTabIndex on bottomTabs init #631e7db by yogevbd
v2.2.2 - v2.2.4
Skipped versions due to CI maintenance
v2.2.1
Fixed
iOS
- 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
v2.2.0
Added
iOS
Fixed
iOS
- 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
Android
2.1.3
Added
iOS
Fixed
- Avoid calling component generators on registerComponent #708d594 by yogevbd