Skip to content

Plugin Catalog

PAM Native’s core stays deliberately small. It contains what nearly every app needs — the renderer, navigation, state, HTTP, files, SQLite, key-value and secure storage, permissions, and basic device APIs. Everything else ships as an official plugin: an ordinary Composer package named pushinbr/pam-native-* that brings its own typed PHP API, Kotlin and Swift code, native dependencies, and permissions.

This keeps every app lean:

  • Smaller binaries. A Maps SDK, Media3, or Firebase is compiled into your app only when you install the plugin that needs it.
  • Fewer permissions. A plugin’s Android permissions and iOS purpose strings are added only when the plugin is installed, so an app without Bluetooth never declares Bluetooth.
  • Independent releases. Plugins version and certify on their own schedule against a declared PAM Native compatibility range.
Terminal window
pam composer require pushinbr/pam-native-maps
pam doctor --fix

That is all. On the next pam dev, pam build, or pam run, PAM discovers the plugin, generates the native integration (autolinking), and records the resolved graph in .pam-native/plugins.lock.json. Commit composer.json and composer.lock; the PAM lock is generated build evidence.

Inspect what is installed and what it brings in:

Terminal window
pam mobile plugin:list
pam mobile plugin:doctor
pam mobile audit

pam mobile audit lists every permission, purpose string, entitlement, repository, and dependency each plugin adds — run it after adding a plugin and before every release. See Permissions.

To remove a plugin:

Terminal window
pam composer remove pushinbr/pam-native-maps
Package What it adds Guide
pushinbr/pam-native-camera Zero-copy camera preview, photo and video capture, device and format selection, focus, zoom, torch, frame processors Camera
pushinbr/pam-native-media System camera capture, photo/video gallery, media inspection, image processing, transcoding, thumbnails Media
pushinbr/pam-native-video Adaptive streaming, subtitles, Media3/AVPlayer playback Video
pushinbr/pam-native-audio Headless audio player (queues, playback rate, audio focus, caching, earpiece routing) and the voice recorder —
pushinbr/pam-native-image High-performance cached native image loading —
pushinbr/pam-native-svg Native SVG: retained vector nodes, gradients, dashes, render-thread animations —
pushinbr/pam-native-lottie Lottie animations, paused off-screen, with a bounded composition cache —
pushinbr/pam-native-media-editor Image editing (ImageEditor) and non-destructive media timelines, effects, and export Media Editor
pushinbr/pam-native-scanner Real-time QR and barcode scanning with a native camera preview Scanner
pushinbr/pam-native-canvas Retained-mode native 2D canvas Canvas 2D
pushinbr/pam-native-charts Line, area, bar, donut, sparkline, and progress-ring charts drawn on the canvas plugin —
pushinbr/pam-native-gpu Programmable Metal and OpenGL ES surfaces Programmable GPU
pushinbr/pam-native-3d Filament and RealityKit real-time 3D scenes Native 3D
Package What it adds Guide
pushinbr/pam-native-ui Accessible, themeable application component library on top of the core views PAM Native UI
pushinbr/pam-native-webview Hardened native WebView (UI\WebView) WebView
pushinbr/pam-native-drawer Native navigation drawer —
pushinbr/pam-native-toast Native toasts (Toast::show(), Toast::message()) —
pushinbr/pam-native-i18n Message catalogs, translation, locale preferences, formatting —
Package What it adds Guide
pushinbr/pam-native-notifications Local notifications, push registration and delivery, conversation notifications with reply, native push rendering Notifications
pushinbr/pam-native-location Current and last known position, watches, the system location switch Location and sensors
pushinbr/pam-native-sensors Accelerometer, gyroscope, magnetometer, rotation vector — one-shot reads and throttled watches Location and sensors
pushinbr/pam-native-contacts Paged contact reads, the new-contact form, the SMS composer Platform capabilities
pushinbr/pam-native-maps Declarative native maps, cameras, markers, overlays, user location Maps
pushinbr/pam-native-bluetooth Lifecycle-safe Bluetooth LE scanning, GATT, and notifications Bluetooth LE
pushinbr/pam-native-nfc NDEF reading and writing on Android and iOS NFC
pushinbr/pam-native-health Health Connect and HealthKit authorization, reads, and writes Health
pushinbr/pam-native-intents Android dynamic shortcuts and Apple App Intents for your routes Intents and shortcuts
pushinbr/pam-native-widgets Android App Widgets and iOS WidgetKit timelines Widgets
pushinbr/pam-native-live-activities ActivityKit Live Activities and Android ongoing live notifications Live Activities
pushinbr/pam-native-share-extension Receive text, URLs, and files through Android shares and an iOS Share Extension Share Extension
pushinbr/pam-native-calls System call surfaces: CallStyle notifications, lock-screen call UI, call actions, push-driven ringing —
pushinbr/pam-native-webrtc WebRTC peer connections, GPU video rendering, call audio routing —
Package What it adds Guide
pushinbr/pam-native-auth Keystore/Keychain credential vault and OAuth 2.1 PKCE primitives Auth and secure storage
pushinbr/pam-native-payments Stripe PaymentSheet payments Payments
pushinbr/pam-native-subscriptions StoreKit 2 and Google Play Billing subscriptions Subscriptions
pushinbr/pam-native-firebase Firebase Analytics, Remote Config, Messaging tokens, Crashlytics, multiple apps Firebase
pushinbr/pam-native-analytics Privacy-safe product analytics (Firebase Analytics without advertising identifiers) —
pushinbr/pam-native-realtime Laravel Echo–style Pusher/Reverb channels over persistent native WebSockets Realtime WebSockets
pushinbr/pam-native-background-transfer Durable background uploads, downloads, and request chains Background Transfer
Package What it adds Guide
pushinbr/pam-native-nitro Offline-first data engine for large local datasets Nitro
pushinbr/pam-native-sync Offline outbox, cursors, conflict resolution, incremental sync Offline Sync
pushinbr/pam-native-sync-laravel Laravel server protocol and transport adapter for pam-native-sync (install it in your Laravel app) Laravel Sync
pushinbr/pam-native-feature-flags Typed targeting, deterministic rollouts, offline flag snapshots Feature Flags
Package What it adds Guide
pushinbr/pam-native-observability Vendor-neutral telemetry and a native Sentry exporter (crashes, ANRs, NDK, PHP errors) Observability
pushinbr/pam-native-devtools Temporal replay plus state, network, and frame diagnostics DevTools package
pushinbr/pam-native-testing Deterministic bridge fakes and assertions for apps and plugins Testing
pushinbr/pam-native-plugin-kit Scaffold, validate, and generate typed plugins Plugin Kit
pushinbr/pam-native-web Compile a PAM Native app to static HTML/JS for web-based TVs (Samsung Tizen, LG webOS) —

Some APIs that used to live in the core — notifications, location, sensors, contacts, recording, camera capture, gallery, image editing, incoming shares — moved to these plugins in PAM Native 1.46; the old class aliases were removed in 1.54. Import the plugin namespaces (Pam\Native\Notifications\…, Pam\Native\Location\…, and so on).

Development-only packages such as pam-native-testing and pam-native-plugin-kit belong in require-dev:

Terminal window
pam composer require --dev pushinbr/pam-native-testing

Before installing a plugin, check whether the core already covers the need — it often does, with no extra binary size or permissions:

Need Core API Reach for a plugin when…
Pick a photo or file Files::pick() you need the camera or a gallery grid → Media
Play a video MediaPlayer you need adaptive streaming or subtitles → Video
Download a file Files::downloadWithProgress() it must survive the app being closed → Background Transfer
Store a token SecureStorage you need accessibility policies, biometrics, or PKCE → Auth
Local data SQLite you need sync and conflict resolution → Sync or Nitro
Network state DeviceStatus, useNetwork() —

Each plugin declares the PAM Native range it supports in its descriptor (pamNative.minimum and pamNative.maximumExclusive) and the host capabilities it requires. PAM refuses to build when an installed plugin does not support your PAM Native version, declares a higher Android minSdk than your app, or reuses a module or view name already taken — so incompatibilities surface at build time, not on a user’s phone.