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)
85 lines
2.7 KiB
JSON
85 lines
2.7 KiB
JSON
{
|
|
"name": "@capacitor/app",
|
|
"version": "6.0.3",
|
|
"description": "The App API handles high level App state and events.For example, this API emits events when the app enters and leaves the foreground, handles deeplinks, opens other apps, and manages persisted plugin state.",
|
|
"main": "dist/plugin.cjs.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/esm/index.d.ts",
|
|
"unpkg": "dist/plugin.js",
|
|
"files": [
|
|
"android/src/main/",
|
|
"android/build.gradle",
|
|
"dist/",
|
|
"ios/Sources",
|
|
"ios/Tests",
|
|
"Package.swift",
|
|
"CapacitorApp.podspec"
|
|
],
|
|
"author": "Ionic <hi@ionicframework.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ionic-team/capacitor-plugins.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ionic-team/capacitor-plugins/issues"
|
|
},
|
|
"keywords": [
|
|
"capacitor",
|
|
"plugin",
|
|
"native"
|
|
],
|
|
"scripts": {
|
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
"verify:ios": "xcodebuild build -scheme CapacitorApp -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
|
|
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
"verify:web": "npm run build",
|
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
"eslint": "eslint . --ext ts",
|
|
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
"swiftlint": "node-swiftlint",
|
|
"docgen": "docgen --api AppPlugin --output-readme README.md",
|
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
|
|
"clean": "rimraf ./dist",
|
|
"watch": "tsc --watch",
|
|
"prepublishOnly": "npm run build",
|
|
"publish:cocoapod": "pod trunk push ./CapacitorApp.podspec --allow-warnings"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "^6.0.0",
|
|
"@capacitor/core": "^6.0.0",
|
|
"@capacitor/docgen": "0.2.2",
|
|
"@capacitor/ios": "^6.0.0",
|
|
"@ionic/eslint-config": "^0.4.0",
|
|
"@ionic/prettier-config": "~1.0.1",
|
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "~2.3.0",
|
|
"prettier-plugin-java": "~1.0.2",
|
|
"rimraf": "^3.0.0",
|
|
"rollup": "^2.29.0",
|
|
"swiftlint": "^1.0.1",
|
|
"typescript": "~4.1.5"
|
|
},
|
|
"peerDependencies": {
|
|
"@capacitor/core": "^6.0.0"
|
|
},
|
|
"prettier": "@ionic/prettier-config",
|
|
"swiftlint": "@ionic/swiftlint-config",
|
|
"eslintConfig": {
|
|
"extends": "@ionic/eslint-config/recommended"
|
|
},
|
|
"capacitor": {
|
|
"ios": {
|
|
"src": "ios"
|
|
},
|
|
"android": {
|
|
"src": "android"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "74b70a60766f0db11b85e911f99c9b59fbabdd08"
|
|
}
|