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)
12 lines
374 B
JavaScript
12 lines
374 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isDir = void 0;
|
|
const utils_fs_1 = require("@ionic/utils-fs");
|
|
async function isDir(p) {
|
|
const stats = await (0, utils_fs_1.statSafe)(p);
|
|
if (stats === null || stats === void 0 ? void 0 : stats.isDirectory()) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
exports.isDir = isDir;
|