Skip to content

PAM Native 1.38.0

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 13 Oct 18:10
· 671 commits to main since this release

Adds binary keyboard visibility to the PHP SDK through Keyboard::isVisible(), onVisibilityChange() and offVisibilityChange().

Android reports root and dialog visibility independently of keyboard avoidance and input focus, including hardware Back. Android 26–29 shares the legacy IME observer with keyboard-aware views and supports plain inputs. Foreground resume reconciles still-visible keyboards after the active lifecycle event. iOS uses main-thread keyboard notifications and the keyboard layout guide, including floating keyboards. Unsubscription and runtime shutdown release PHP listeners; inactive hosts stop legacy observation.

The protocol adds event 76 without changing existing identifiers or positional APIs. Existing keyboard avoidance behavior remains unchanged.

Validation: Rust 226 tests, Kotlin/JVM 277 tests, PHP SDK under PHP 8.5.11, protocol parity, package budgets, deterministic packages and repeated CLI/AAR builds passed. Full Android 26 instrumented suite passed 280 tests. Android 36 ran 280 tests: 279 passed initially; its sole stale navigation-bar test was corrected without changing product code, and both navigation-bar tests then passed. All five real modal/sheet keyboard and resume journeys passed. Fresh native and native-ui projects both passed the original community init/install/dev/launch/log/screenshot gate with the candidate SDK 1.38.0, confirmed by Composer and native source hashes.

Linux build: iOS source and XCTest coverage are included; Xcode compilation and physical iOS validation remain pending on the user's Mac, as agreed. See docs/ios-parity.md for the exact checklist.