User Agent Detection
MobiWeb appends a custom string to the User-Agent header on both platforms. You can detect this on your server or client:
// iOS appends: <bundleID>/<appVersion>
// e.g. "... com.mycompany.myapp/1.0.0"
const ua = navigator.userAgent;
const isMobiWebiOS = /com\./.test(ua) && /\/\d/.test(ua);
On Android, the standard WebView user agent is used. You may rely on the bridge object presence (AndroidToast, etc.) for detection instead. You can also refer to the X-Requested-With header on the server side for XHR, which contains the app's package name on Android.
03 May 2026