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)
18 lines
523 B
JavaScript
Executable file
18 lines
523 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
'use strict';
|
|
|
|
var satisfies = require('semver/functions/satisfies');
|
|
var packageJson = require('../package.json');
|
|
var requiresNodeVersion = packageJson.engines.node;
|
|
|
|
if (!satisfies(process.version, requiresNodeVersion, { includePrerelease: true})) {
|
|
process.stdout.write(
|
|
'\x1b[31m[fatal]\x1b[39m The Capacitor CLI requires NodeJS ' + requiresNodeVersion + '\n' +
|
|
' Please install the latest LTS version.\n'
|
|
);
|
|
|
|
process.exit(1);
|
|
}
|
|
|
|
var cli = require('../dist/index');
|
|
cli.run();
|