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)
15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.sort = void 0;
|
|
function sort(obj) {
|
|
const entries = [...Object.entries(obj)];
|
|
entries.sort(([k1], [k2]) => k1.localeCompare(k2));
|
|
for (const [key] of entries) {
|
|
delete obj[key];
|
|
}
|
|
for (const [key, value] of entries) {
|
|
obj[key] = value;
|
|
}
|
|
return obj;
|
|
}
|
|
exports.sort = sort;
|