Wallet Passes
Paul (PARTek)
NativePHP^4.6.1PHP^8.2Laravel^10|^11|^12|^13iOS18.0+Android29+
Add Google Wallet passes to Android devices from NativePHP Mobile.
Android only (Google Wallet). iOS calls return
unsupported_platform. A Google Wallet API issuer account and service account are required. The plugin does not sign JWTs.
Features
- Capability check —
WalletPasses::canAdd()with a stable reason when Google Wallet is unavailable - Add passes — opens the Google Wallet save sheet via the official Wallet SDK; reports
added,cancelled, orfailed - Save token validation — validates the token's format in PHP before it reaches the native bridge
- JavaScript module — Inertia, Vue, React, and plain JS support
- Optional HTTP routes — off by default
- Testing — fake and test helpers for NativePHP's test harness
- No Android permissions required; adds one transparent, non-exported activity
- No network requests of its own
Installation
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
composer config http-basic.plugins.nativephp.com your@email.com your-license-key
php artisan vendor:publish --tag=nativephp-plugins-provider
composer require partek/wallet-passes
php artisan native:plugin:register partek/wallet-passes
php artisan vendor:publish --tag=wallet-passes-config
php artisan native:run android