Releases: zoontek/react-native-bars
Releases · zoontek/react-native-bars
2.4.3
2.4.2
2.4.1
2.4.0
- Add
darkContentBarsStyle
android custom style property (documentation) - Add
RNBars.init(activity: Activity, enableKeyboardHandling: Boolean = true)
new static method that uses thedarkContentBarsStyle
property value - Update documentation with
react-native
0.73 (Kotlin) instructions
2.3.0
2.2.2
- Use gradle
namespace
conditionally in order to improve old react native version compatibility.
⚠️ Note that this library officially now follows the React Native releases support policy. If you have been impacted by this bug, that means you are using an unsupported react native version and should upgrade to the latest.
2.2.1
2.2.0
- Add
Theme.EdgeToEdge
for easier android setup (#22)
This means you'll only have to edit your mainstyles.xml
:
<resources xmlns:tools="http://schemas.android.com/tools"><!-- use tools -->
<!-- make AppTheme inherit from Theme.EdgeToEdge -->
<style name="AppTheme" parent="Theme.EdgeToEdge">
<!-- … -->
<!-- set bars initial styles: true = dark-content, false = light-content -->
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item>
</style>
</resources>
2.1.0
- Add a third argument to
RNBars.init
:enableKeyboardHandling
(defaulttrue
). This allow using libraries like react-native-keyboard-controller.