Categories
nativePHP

Handling Android WebView Form Submissions in NativePHP

Today I ran into an interesting issue with NativePHP when submitting forms from an Android WebView. Unlike normal browsers, WebView handles POST requests slightly differently, and $request->all() may return an empty array, even when the form has valid data. Here’s an example Blade view: <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title>Form Test</title> </head> <body> <form method=”POST” […]

Categories
nativePHP

Unleashing the Power of NativePHP Child Commands

NativePHP has come a long way—its latest version is 2.1 (as of this writing). But if you’ve ever tried to tweak your app, you know the frustration: every update can overwrite your custom changes, leaving you to repeat tedious steps over and over. What if there was a better way? A way to automate repetitive […]

Categories
nativePHP

Summoning the Dialer: NativePHP and PSTN Numbers

Sometimes your app needs to do more than just show a number—it needs to breathe life into it and send it straight into your device’s native dialer. In the world of the browser, the magic incantation is simple: tel:+123456 But inside a NativePHP app, this spell goes unheard—NativePHP doesn’t yet recognize the tel: scheme by […]

Categories
nativePHP

Breaking the Custom Sound Barrier with NativePHP & Firebase Cloud Messaging on Android

Today, we’re blasting off into uncharted territory: getting your push notifications to roar with a custom sound on your Android app. Strap in, because the custom sound plane is about to break the sound barrier! 🛩️💥 Your secret weapon? A .ogg or .mp3 sound file. Place it in the heart of your Android app: nativephp/android/app/src/main/res/raw/notification.ogg […]

Categories
nativePHP

NativePHP and the Microphone Permission Menace: Taming the One-Time Access Beast

Next up: the dreaded microphone permission showdown. Every time a caller tried to start a call, the ominous prompt blasted onto the screen—“Would Like to Access the Microphone.” Sure, having a working microphone is essential, but this relentless gatekeeper made the whole experience feel like navigating a booby-trapped jungle rather than a smooth voice app. […]