pdf-quiz-generator/mobile/node_modules/@capacitor/splash-screen/Package.swift
Daniel dc240c31d2 Add Capacitor mobile app wrapper for PedsHub Quiz
- Configurable server URL (default: pedshub.com)
- Android + iOS platforms initialized
- Dark theme matching quiz app (#0f172a)
- Status bar and navigation bar color matched
- Auto-redirect on subsequent launches
- App ID: com.pedshub.quiz, App Name: PedsHub

Build: cd mobile && npx cap sync && npx cap open android

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 05:12:25 +02:00

28 lines
887 B
Swift

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