capacitor.config.json:
- webContentsDebuggingEnabled: true → false
(was leaving Chrome DevTools able to attach to released builds)
- allowMixedContent: true → false
(API is HTTPS-only; no need to permit cleartext loads)
- server.allowNavigation: ["*"] → restricted to pedshub.com /
peds.danvics.com origins
(prevents WebView following an attacker-controlled redirect)
AndroidManifest.xml:
- android:allowBackup="false" + data_extraction_rules.xml
(Android system backup would otherwise copy EncryptedSharedPreferences
containing the auth token into Google Cloud backups)
- Removed USE_BIOMETRIC permission (feature removed earlier)
AudioRecordingService.java:
- startForeground(id, notif, TYPE_MICROPHONE) on Android 14+
(without the explicit type Android 14 kills the service with
MissingForegroundServiceTypeException)
- WakeLock cap: 1h → 8h (still bounded, onDestroy releases early)
MainActivity.java:
- Removed dead biometric code path and androidx.biometric imports
mobile/package.json:
- Dropped @aparajita/capacitor-biometric-auth — orphan dependency
28 lines
931 B
JSON
28 lines
931 B
JSON
{
|
|
"name": "pedscribe-mobile",
|
|
"version": "1.0.0",
|
|
"description": "PedScribe native mobile app — Capacitor wrapper for Pediatric AI Scribe",
|
|
"private": true,
|
|
"scripts": {
|
|
"sync": "npx cap sync",
|
|
"android": "npx cap open android",
|
|
"ios": "npx cap open ios",
|
|
"build:android": "npx cap sync android && cd android && ./gradlew assembleRelease",
|
|
"build:ios": "npx cap sync ios"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/android": "^6.0.0",
|
|
"@capacitor/app": "^6.0.0",
|
|
"@capacitor/cli": "^6.0.0",
|
|
"@capacitor/core": "^6.0.0",
|
|
"@capacitor/ios": "^6.0.0",
|
|
"@capacitor/haptics": "^6.0.0",
|
|
"@capacitor/keyboard": "^6.0.0",
|
|
"@capacitor/push-notifications": "^6.0.0",
|
|
"@capacitor/screen-orientation": "^6.0.0",
|
|
"@capacitor/share": "^6.0.0",
|
|
"@capacitor/splash-screen": "^6.0.0",
|
|
"@capacitor/status-bar": "^6.0.0",
|
|
"capacitor-secure-storage-plugin": "^0.10.0"
|
|
}
|
|
}
|