Skip to content

Commit 7658f2e

Browse files
committed
chore: update changelog for v0.1.3
1 parent 05d48f6 commit 7658f2e

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# Changelog
22

3+
## 0.1.3 - 2026-05-13
4+
5+
- Android: fix the Recents thumbnail race that intermittently leaked the underlying app content — especially under load or with a `<Modal>` open. On API 30+, the cover content is now hosted in a `SurfaceControlViewHost` and visibility is toggled via `SurfaceControl.Transaction.setAlpha` straight from the broadcast HandlerThread, bypassing the View → `ViewRootImpl` → compose chain that was losing the race. Closes [#1](https://github.com/amillez/react-native-cover/issues/1).
6+
- Android: fix the cover missing on the first Home press while a `<Modal>` is open. The pre-mounted cover is now re-parented to the modal's window the moment it opens (via an `OnWindowFocusChangeListener` on the activity decor), so it's always composed above the modal. Out-of-process focus changes (permission prompts, biometrics, notification shade) still don't trigger a re-parent.
7+
- Android: fix blur mode showing only a translucent tint on the new SCVH path — the blur-source picker now skips the cover's wrapping `SurfaceView` (which software-draws as transparent) and falls back to the activity decor.
8+
- Android: ask the OS for the display's highest refresh rate while the cover is attached, shortening the snapshot race window on 90/120 Hz panels.
9+
10+
`minSdkVersion=23`, public API, and iOS behavior unchanged.
11+
312
## 0.1.2 - 2026-05-07
413

5-
- Android: fix soft keyboard input being swallowed by the pre-mounted cover panel. The invisible panel now sets `FLAG_ALT_FOCUSABLE_IM` alongside `FLAG_NOT_TOUCHABLE` so the IME sits above it and keystrokes reach the focused `TextInput`; both flags are cleared again when the cover becomes visible so it still paints over any lingering keyboard.
14+
- Android: fix soft keyboard input being swallowed by the pre-mounted cover panel. The invisible panel now sets `FLAG_ALT_FOCUSABLE_IM` alongside `FLAG_NOT_TOUCHABLE` so the IME sits above it and keystrokes reach the focused `TextInput`; both flags are cleared again when the cover becomes visible so it still paints over any lingering keyboard.
615

716
## 0.1.1 - 2026-05-07
817

918
Initial release.
1019

11-
- Native privacy cover for React Native built on Nitro Modules.
12-
- iOS: hides app content behind an overlay in the App Switcher.
13-
- Android: hides app content in the Recents screen.
20+
- Native privacy cover for React Native built on Nitro Modules.
21+
- iOS: hides app content behind an overlay in the App Switcher.
22+
- Android: hides app content in the Recents screen.

0 commit comments

Comments
 (0)