Repository navigation
1.54.0
·
21 commits
to main
since this release
1.54.0 - 2026-11-18
App-declared Android capabilities (queries, orientation, picture-in-picture, URL schemes), media and notification-permission fixes, link navigation that stacks, and localized formatting.
- Added: Android — apps declare package visibility in
android.queries(packages,intents); the host manifest no longer queries Instagram, WhatsApp orsmsto. - Added: Android —
android.orientationslocks PamActivity'sscreenOrientation(same values asios.orientations). - Added: Android —
android.pictureInPicturedeclaressupportsPictureInPicture; in PiP the host keeps media playing and PHP active. - Changed: Android data extraction rules exclude every domain from cloud backup and device transfer.
- Fixed: media — a streamed or while-playing cache copy is cancelled with its player; a download no other player needs stops.
- Fixed: media — a playing
MediaPlayerkeeps the screen on; with sound it holds audio focus (pauses on loss or unplugged headphones). - Fixed: Android
Notificationspermission followsareNotificationsEnabled()below Android 13 (Blocked when off). - Added:
DeviceStatus::watch()acceptsDeviceStatusFieldfilters;useNetwork()watches only the network. - Fixed: Android uses no deprecated
Windowbar colour setters (Play edge-to-edge warning); modal bar colours are painted by the host. - Added: plugin-api
PamTextProcessorslets a plugin rewrite text spans before measure and draw (e.g. EmojiCompat). - Added:
fadingEdgeLengthonVirtualizedList,FlatListandSectionList(Android). - Added:
Route::open()/Route::openInitial()accept amode;'push'opens the link over the current screen and reuses the focused screen only for the same route with the same path params. Default staysnavigate. - Fixed:
OfflineMutationQueue::online(true)afteronline(false)makes every waiting retry due now before draining. - Added:
pam-native.jsonlinking.openSchemes(e.g.["otpauth"]): extra schemes forLinking::open()/canOpen(), with Android<queries>and iOSLSApplicationQueriesSchemesgenerated; file/content/intent/javascript/data-like schemes are rejected. - Fixed: Android
Linking::open()/canOpen()match URL schemes case-insensitively;Linking::open()hands the URL to the system directly on Android and iOS. - Changed (breaking): removed the 1.46
MovedToPluginaliases due in 1.47 (location, contacts, sensors, audio, media, media editor, auth, notifications, share extension); import the plugin classes. Drawer, Toast andUI\WebViewaliases remain. - Changed: device bundles no longer ship
packages/native/benchmarksor the SDK build-time audits. - Changed:
Files::delete()accepts an optionalfailureclosure and treats a missing file as deleted (Android, iOS). - Added:
Files::cachePath()/Files::CACHE_DIRECTORY(a sandbox cache folderCaches::clear()empties) andCacheUsage::$importBytes;Caches::clear(imports: true)removes picker/import copies. - Added:
useSafeAreaInsets()->cutoutTop/Right/Bottom/LeftandWindowMetrics::$cutout*: the display cutout alone, for immersive screens. - Added:
App::reload()relaunches PHP on the active entry (e.g. after a language change); older hosts report tofailure. - Changed:
Support\Formatformats Spanish and French, and withoutuseLocale()follows the activeI18nlocale when catalogs are registered (pt-BR otherwise). - Changed: Android IME tests re-request the keyboard while waiting and the configuration-remount test restarts the IME once per class.
- Fixed: Android — a remount that rebuilds a focused input (not only one caused by a configuration change) keeps it focused; the keyboard hiding when the old editor goes no longer blurs it.
Upgrading from the 1.46 aliases
No published PAM Native plugin or pam init template uses these names. Replace each import and require the plugin:
| Removed name | Use | Package |
|---|---|---|
Pam\Native\AudioRecording |
Pam\Native\Audio\AudioRecording |
pushinbr/pam-native-audio |
Pam\Native\AudioRecordingProgress |
Pam\Native\Audio\AudioRecordingProgress |
pushinbr/pam-native-audio |
Pam\Native\BiometricError |
Pam\Native\Auth\BiometricError |
pushinbr/pam-native-auth |
Pam\Native\BiometricKind |
Pam\Native\Auth\BiometricKind |
pushinbr/pam-native-auth |
Pam\Native\CapturedImage |
Pam\Native\Media\CapturedImage |
pushinbr/pam-native-media |
Pam\Native\CaptureType |
Pam\Native\Media\CaptureType |
pushinbr/pam-native-media |
Pam\Native\Contact |
Pam\Native\Contacts\Contact |
pushinbr/pam-native-contacts |
Pam\Native\ImageCaptureFormat |
Pam\Native\Media\ImageCaptureFormat |
pushinbr/pam-native-media |
Pam\Native\ImageCropRatio |
Pam\Native\MediaEditor\ImageCropRatio |
pushinbr/pam-native-media-editor |
Pam\Native\ImageFilterType |
Pam\Native\MediaEditor\ImageFilterType |
pushinbr/pam-native-media-editor |
Pam\Native\ImageTextLayerStyle |
Pam\Native\MediaEditor\ImageTextLayerStyle |
pushinbr/pam-native-media-editor |
Pam\Native\IncomingShare |
Pam\Native\ShareExtension\IncomingShare |
pushinbr/pam-native-share-extension |
Pam\Native\LocationError |
Pam\Native\Location\LocationError |
pushinbr/pam-native-location |
Pam\Native\LocationPosition |
Pam\Native\Location\LocationPosition |
pushinbr/pam-native-location |
Pam\Native\LocationServicesResult |
Pam\Native\Location\LocationServicesResult |
pushinbr/pam-native-location |
Pam\Native\MediaAlbum |
Pam\Native\Media\MediaAlbum |
pushinbr/pam-native-media |
Pam\Native\MediaAssetPage |
Pam\Native\Media\MediaAssetPage |
pushinbr/pam-native-media |
Pam\Native\MediaAsset |
Pam\Native\Media\MediaAsset |
pushinbr/pam-native-media |
Pam\Native\NotificationImportance |
Pam\Native\Notifications\NotificationImportance |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\ActionEndpoint |
Pam\Native\Notifications\Contracts\ActionEndpoint |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\ConversationNotification |
Pam\Native\Notifications\Contracts\ConversationNotification |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\NotificationAction |
Pam\Native\Notifications\Contracts\NotificationAction |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\NotificationActionType |
Pam\Native\Notifications\Contracts\NotificationActionType |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\NotificationCredentials |
Pam\Native\Notifications\Contracts\NotificationCredentials |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\Person |
Pam\Native\Notifications\Contracts\Person |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\PushRendering |
Pam\Native\Notifications\Contracts\PushRendering |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\PushRenderingRule |
Pam\Native\Notifications\Contracts\PushRenderingRule |
pushinbr/pam-native-notifications |
Pam\Native\Notifications\ReplyFailures |
Pam\Native\Notifications\Contracts\ReplyFailures |
pushinbr/pam-native-notifications |
Pam\Native\PushEventType |
Pam\Native\Notifications\PushEventType |
pushinbr/pam-native-notifications |
Pam\Native\PushMessage |
Pam\Native\Notifications\PushMessage |
pushinbr/pam-native-notifications |
Pam\Native\PushProvider |
Pam\Native\Notifications\PushProvider |
pushinbr/pam-native-notifications |
Pam\Native\PushToken |
Pam\Native\Notifications\PushToken |
pushinbr/pam-native-notifications |
Pam\Native\SensorReading |
Pam\Native\Sensors\SensorReading |
pushinbr/pam-native-sensors |
Pam\Native\SensorType |
Pam\Native\Sensors\SensorType |
pushinbr/pam-native-sensors |
Pam\Native\System\AudioRecorder |
Pam\Native\Audio\AudioRecorder |
pushinbr/pam-native-audio |
Pam\Native\System\Biometrics |
Pam\Native\Auth\LegacyBiometrics |
pushinbr/pam-native-auth |
Pam\Native\System\Contacts |
Pam\Native\Contacts\Contacts |
pushinbr/pam-native-contacts |
Pam\Native\System\ImageEditor |
Pam\Native\MediaEditor\ImageEditor |
pushinbr/pam-native-media-editor |
Pam\Native\System\IncomingShares |
Pam\Native\ShareExtension\IncomingShares |
pushinbr/pam-native-share-extension |
Pam\Native\System\Location |
Pam\Native\Location\Location |
pushinbr/pam-native-location |
Pam\Native\System\MediaCapture |
Pam\Native\Media\MediaCapture |
pushinbr/pam-native-media |
Pam\Native\System\MediaLibrary |
Pam\Native\Media\MediaLibrary |
pushinbr/pam-native-media |
Pam\Native\System\Notifications |
Pam\Native\Notifications\Notifications |
pushinbr/pam-native-notifications |
Pam\Native\System\PushNotifications |
Pam\Native\Notifications\PushNotifications |
pushinbr/pam-native-notifications |
Pam\Native\System\Sensors |
Pam\Native\Sensors\Sensors |
pushinbr/pam-native-sensors |
Pam\Native\System\Sms |
Pam\Native\Contacts\Sms |
pushinbr/pam-native-contacts |
Pam\Native\System\ViewCapture |
Pam\Native\Media\ViewCapture |
pushinbr/pam-native-media |
What's Changed
- release: 1.54.0 app-declared Android capabilities, media and link fixes, localized formatting by @DavidWilliamBalbino in #280
Full Changelog: v1.53.9...v1.54.0