|
@@ -1,4 +1,91 @@
|
1
|
1
|
# Changelog
|
|
2
|
+# 3.1.0
|
|
3
|
+## Added
|
|
4
|
+* Support passing null color to StatusBar backgroundColor and bottom tab icon color [#3519837](https://github.com/wix/react-native-navigation/commit/3519837cc2a82cb14ec1849bfc358865e407f556) by [guyca](https://github.com/guyca)
|
|
5
|
+
|
|
6
|
+## Fixed
|
|
7
|
+### Android
|
|
8
|
+* Removed the legacy support lib [#8663669](https://github.com/wix/react-native-navigation/commit/8663669ed92f34bedf7bdbdb8a9b1a64be5b8cdf) by [SudoPlz](https://github.com/SudoPlz)
|
|
9
|
+* Apply layout direction directly on views [#fffd2d2](https://github.com/wix/react-native-navigation/commit/fffd2d23f169d11ddb7c9348e2070c3385844e34) by [guyca](https://github.com/guyca)
|
|
10
|
+
|
|
11
|
+# 3.0.0
|
|
12
|
+## Android
|
|
13
|
+* Support RN 0.60
|
|
14
|
+* Migrate to AndroidX
|
|
15
|
+* Improve draw behind StatusBar<br>
|
|
16
|
+ Added `statusBar.translucent` boolean property
|
|
17
|
+* BottomTabs are not pushed upwards when keyboard opens
|
|
18
|
+* Removed SyncUiImplementation
|
|
19
|
+ [SyncUiImplementation](https://github.com/wix/react-native-navigation/blob/master/lib/android/app/src/reactNative57WixFork/java/com/reactnativenavigation/react/SyncUiImplementation.java) 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.
|
|
20
|
+
|
|
21
|
+ If you're using `SyncUiImplementation` your app will fail to compile after upgrading to v3. Simply remove the following code from your `MainApplication.java`
|
|
22
|
+ ```diff
|
|
23
|
+ - import com.facebook.react.uimanager.UIImplementationProvider;
|
|
24
|
+ - import com.reactnativenavigation.react.SyncUiImplementation;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+ - @override
|
|
28
|
+ - protected UIImplementationProvider getUIImplementationProvider() {
|
|
29
|
+ - return new SyncUiImplementation.Provider();
|
|
30
|
+ - }
|
|
31
|
+ ```
|
|
32
|
+* BottomTab badge and dot indicator are not animated by default.
|
|
33
|
+ * The following option will show a badge with animation
|
|
34
|
+ ```js
|
|
35
|
+ bottomTab: {
|
|
36
|
+ badge: 'new,
|
|
37
|
+ animateBadge: true
|
|
38
|
+ }
|
|
39
|
+ ```
|
|
40
|
+
|
|
41
|
+ * The following option will show a dot indicator with animation
|
|
42
|
+ ```js
|
|
43
|
+ bottomTab: {
|
|
44
|
+ dotIndicator: {
|
|
45
|
+ visible: true,
|
|
46
|
+ animate: true
|
|
47
|
+ }
|
|
48
|
+ }
|
|
49
|
+ ```
|
|
50
|
+* Stack, BottomTabs and SideMenu are drawn behind StatusBar.<br>
|
|
51
|
+While parent controllers are drawn behind the StatusBar, their background isn't.
|
|
52
|
+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.
|
|
53
|
+If you application's theme is dark, you might want to change the `windowBackground` property to mitigate this:
|
|
54
|
+Add the following to your application's `style.xml`
|
|
55
|
+ ```xml
|
|
56
|
+ <?xml version="1.0" encoding="utf-8"?>
|
|
57
|
+ <resources>
|
|
58
|
+ <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
|
59
|
+ <item name="android:windowBackground">@color/backgroundColor</item>
|
|
60
|
+ </style>
|
|
61
|
+
|
|
62
|
+ <!--This is your application's default background color.
|
|
63
|
+ It will be visible when the app is first opened (while the splash layout is visible)
|
|
64
|
+ and when transitioning between a destination a screen drawn under the StatusBar to
|
|
65
|
+ a destination drawn behind it-->
|
|
66
|
+ <item name="backgroundColor" type="color">#f00</item>
|
|
67
|
+ </resources>
|
|
68
|
+ ```
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+# 2.27.0
|
|
82
|
+## Added
|
|
83
|
+* Support passing null color to StatusBar backgroundColor and bottom tab icon color [#3519837](https://github.com/wix/react-native-navigation/commit/3519837cc2a82cb14ec1849bfc358865e407f556) by [guyca](https://github.com/guyca)
|
|
84
|
+
|
|
85
|
+## Fixed
|
|
86
|
+### Android
|
|
87
|
+* Apply layout direction directly on views [#fffd2d2](https://github.com/wix/react-native-navigation/commit/fffd2d23f169d11ddb7c9348e2070c3385844e34) by [guyca](https://github.com/guyca)
|
|
88
|
+
|
2
|
89
|
# 2.26.1
|
3
|
90
|
|
4
|
91
|
## Fixed
|