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)
5 lines
234 B
JavaScript
5 lines
234 B
JavaScript
module.exports = r => {
|
|
const n = process.versions.node.split('.').map(x => parseInt(x, 10))
|
|
r = r.split('.').map(x => parseInt(x, 10))
|
|
return n[0] > r[0] || (n[0] === r[0] && (n[1] > r[1] || (n[1] === r[1] && n[2] >= r[2])))
|
|
}
|