- MainActivity: request RECORD_AUDIO permission at app start via ActivityCompat (not WebChromeClient override which broke Capacitor bridge) - Simplify launcher: remove server reachability check (was failing in WebView), just save URL and navigate directly - Remove biometric auth from launcher (Capacitor plugins need ES module bundler, not available in plain HTML). Biometric can be added later via the web app with proper Capacitor runtime. - Add webContentsDebuggingEnabled for development
33 lines
730 B
JSON
33 lines
730 B
JSON
{
|
|
"appId": "com.pedshub.scribe",
|
|
"appName": "PedScribe",
|
|
"webDir": "src",
|
|
"server": {
|
|
"allowNavigation": ["*"]
|
|
},
|
|
"plugins": {
|
|
"SplashScreen": {
|
|
"launchShowDuration": 1500,
|
|
"backgroundColor": "#2563eb",
|
|
"showSpinner": true,
|
|
"spinnerColor": "#ffffff"
|
|
},
|
|
"PushNotifications": {
|
|
"presentationOptions": ["badge", "sound", "alert"]
|
|
},
|
|
"Keyboard": {
|
|
"resize": "body",
|
|
"resizeOnFullScreen": true
|
|
}
|
|
},
|
|
"android": {
|
|
"allowMixedContent": true,
|
|
"backgroundColor": "#2563eb",
|
|
"webContentsDebuggingEnabled": true,
|
|
"appendUserAgent": "PedScribe-Android"
|
|
},
|
|
"ios": {
|
|
"backgroundColor": "#2563eb",
|
|
"contentInset": "automatic"
|
|
}
|
|
}
|