Release 2.10.0
2.10.0 (2024-10-02)
Features
UnistylesRuntime.getTheme() // <-- get current theme
UnistylesRuntime.getTheme('dark') // <-- get theme by name
Theme returned from UnsityelsRuntime
will reflect all changes you made with UnistylesRuntime.updateTheme
, so it's better than importing theme from file.
- [Web] Migrate from webpack to metro, upgrade expo example to 0.75.3 (e99d65a)
- [Android] Prevent keyboard controller to report new ime insets when listener is disabled (7f0ccc4)
This works well with following setting:
UnistylesRegistry
.addConfig({
disableAnimatedInsets: true
})
- [Android] Upgrade cmake (422293a)
Bug Fixes
- [iOS] Set root view background color on ui thread (a3b7b0f)