pediatric-ai-scribe-v3/mobile/node_modules/@capacitor/app/Package.swift
Daniel d3ee6001c1 Add Capacitor native mobile app (PedScribe) for iOS + Android
New mobile/ directory with Capacitor project:
- Configurable server URL launcher (default: app.pedshub.com)
- Android: foreground service + wake lock for background recording
  (AudioRecordingService preserved from existing TWA)
- iOS: background audio mode + microphone permission
- App ID: com.pedshub.scribe
- Both platforms initialized and synced

Existing android/ TWA project untouched — this is a separate project.
Build: cd mobile && npx cap open android (or ios)
2026-04-11 02:18:06 +02:00

28 lines
815 B
Swift

// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapacitorApp",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorApp",
targets: ["AppPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "6.0.0")
],
targets: [
.target(
name: "AppPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/AppPlugin"),
.testTarget(
name: "AppPluginTests",
dependencies: ["AppPlugin"],
path: "ios/Tests/AppPluginTests")
]
)