pediatric-ai-scribe-v3/mobile/capacitor.config.json
Daniel f03ca5cb94 Fix Android mic permission, simplify launcher, remove broken biometric
- 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
2026-04-11 03:34:47 +02:00

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"
}
}