[Android] Livewire/Filament POST requests failing with "405 Method Not Allowed" on Root (/) despite

Describe the bug I am running a Laravel 12 + Filament v4 application using NativePHP Mobile v2. When running on the Android Emulator, the dashboard loads correctly. However, any interaction that triggers a Livewire update (navigation, clicks) fails with a 405 Method Not Allowed error.

Using Chrome DevTools (chrome://inspect), I can see that Livewire POST requests are hitting http://127.0.0.1/ (Root) instead of the configured Livewire update endpoint, or are being redirected there and rejected.

Environment

OS: macOS (Host) using DDEV for local dev, but building via php artisan native:run android from the Host.

Laravel: 12.x

Filament: v4.x

NativePHP Mobile: v2.2

PHP: 8.4

Target: Android Emulator (API 35)

Configuration I have attempted to align the APP_URL and force routing to avoid this, but the issue persists.
Was this page helpful?