Skip to content

PAM Native 1.46.2

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 28 Oct 20:58
· 360 commits to main since this release

PAM Native 1.46.2 (on top of 1.46.1) has fixes and one addition. It has no protocol change (protocol= is the same as 1.46.1) and needs the same plugins as 1.46.0.

  • Image::prefetch() accepts packaged asset:// images. Each image is decoded once per process at full resolution, off the UI thread, and kept in memory: at most 8 images or 48 MiB, dropped on a critical memory trim or an iOS memory warning. An Image with that exact source then paints in the frame that binds it, with no decode or fade. A theme switch between two preloaded sources only swaps the bitmap. This works on Android and iOS. Use it for a screen background that must appear in the first frame of a push.
  • Lists (Android): a list opened at its end that the reader scrolled away from is no longer pulled back to the end when a row re-measures, the viewport resizes or rows land. Nothing re-pins a list while it is dragged or flung.
  • Scroll phases carry React Native's contentSize/layoutMeasurement, and the new ScrollPhaseEvent::distanceFromEnd() gives how far the viewport is from the end of the content (Android, iOS).

Gates at the release commit (cd1faf9):

  • PHP SDK run.php and protocol-parity.py
  • cargo test (275), cargo fmt --check and cargo clippy -D warnings
  • Kotlin compile, including androidTest, with 389 JVM unit tests (core and every moved plugin)
  • Android instrumented tests on an API 36 emulator: 57/57 (image hardware bitmap, list follow-end, virtual list window/rebind/continuity, scroll container, navigation host)
  • iOS build-for-testing on Xcode 26.6 for the core and every moved plugin, plus XCTest on an iPhone 17e Simulator: 47/47 (motion, inline image, animated image, layout parity)

Assets are built reproducibly, and the package budgets were verified.

Full list: CHANGELOG.md 1.46.2.