Mobile Camera
Bifrost Technology
NativePHP^3.0iOS18.2+Android26+
Camera plugin for NativePHP Mobile — photo capture, video recording, and gallery picker functionality.
Features
- Photo capture via device camera
- Video recording with optional duration limits
- Gallery/media picker (single or multiple selection)
- Fluent API support
- PHP (Livewire/Blade) and JavaScript (Vue/React/Inertia) implementations
Installation
composer require nativephp/mobile-camera
php artisan native:plugin:register nativephp/mobile-camera
Compatibility
| Platform | Minimum Version |
|---|---|
| NativePHP | ^3.0 |
| iOS | 18.2+ |
| Android | API 26+ |
Events
PhotoTaken— triggered when a photo is capturedVideoRecorded— triggered on successful video completionVideoCancelled— triggered when recording is cancelledMediaSelected— triggered when gallery items are selected