Repository navigation
PAM Native 1.46.0
PAM Native 1.46.0 (on top of 1.45.1) slims the core: optional native capabilities move to plugins. It has no protocol change (protocol= is the same as 1.45.1); the engine changes only for the vertical pager safe area fix (engine=6f129923845fd14c).
Upgrade. Every moved class keeps its old name in 1.46 as a deprecated alias, but only with its plugin installed; without it, the first use throws PluginException naming the package. The aliases go away in 1.47.
Moved API (Pam\Native\…) |
Install |
|---|---|
System\Location, LocationError, LocationPosition, LocationServicesResult |
composer require pushinbr/pam-native-location:^0.1 |
System\Contacts, Contact, System\Sms |
composer require pushinbr/pam-native-contacts:^0.1 |
System\Sensors, SensorReading, SensorType |
composer require pushinbr/pam-native-sensors:^0.1 |
System\AudioRecorder, AudioRecording, AudioRecordingProgress |
composer require pushinbr/pam-native-audio:^0.3 |
System\ImageEditor, ImageCropRatio, ImageFilterType, ImageTextLayerStyle |
composer require pushinbr/pam-native-media-editor:^0.5.1 |
System\MediaLibrary, System\MediaCapture, System\ViewCapture, MediaAsset, MediaAssetPage, MediaAlbum, CapturedImage, CaptureType, ImageCaptureFormat |
composer require pushinbr/pam-native-media:^0.7.1 |
System\Biometrics, BiometricKind, BiometricError |
composer require pushinbr/pam-native-auth:^0.4.1 |
System\Notifications, System\PushNotifications, PushMessage, PushToken, PushProvider, PushEventType, NotificationImportance, Notifications\* |
composer require pushinbr/pam-native-notifications:^0.1.3 |
System\IncomingShares, IncomingShare |
composer require pushinbr/pam-native-share-extension:^0.4.1 |
UI\WebView |
composer require pushinbr/pam-native-webview:^0.1.1 |
Permissions, manifest entries and native dependencies move with them, so an app that does not use a capability no longer builds it in.
- Generic plugin hooks: activity intents/foreground/reload, permission and native-ref hosts, PHP runtime reset/route focus, reserved-node delegation, Android
WatchChannelandActivityResultHost. On iOS,PamMediaDiskCacheandPamPrivateFilePathare public so plugins can compile as their own Swift module. - Android Back: a predictive back the app consumes (
interceptSystemBack()) settles back instead of sliding the route away; Android 15's Back key closes in-screen UI like React Native. - Android text scales font size, line height and letter spacing like React Native's
toPixelFromSP; a text with no colour is opaque, so colour emoji are not faded. - Automatic safe area: a vertical pager (a
pagingEnabledlist or scroll) is full-bleed, so each page's bottom chrome is no longer clipped.
Gates at the release commit (897acc5): PHP SDK run.php, protocol-parity.py, cargo test (CLI, engine, protocol), cargo fmt --check, cargo clippy -D warnings, Kotlin compile with 388 JVM unit tests (325 core, 63 in the moved plugins), and iOS build-for-testing on Xcode 26.6 for the core and every moved plugin with their tests. Assets are built reproducibly, and the package budgets were verified.
Full list: CHANGELOG.md 1.46.0.