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)
16 lines
No EOL
332 B
JavaScript
16 lines
No EOL
332 B
JavaScript
export const ignoreENOENT = async (p) => p.catch(er => {
|
|
if (er.code !== 'ENOENT') {
|
|
throw er;
|
|
}
|
|
});
|
|
export const ignoreENOENTSync = (fn) => {
|
|
try {
|
|
return fn();
|
|
}
|
|
catch (er) {
|
|
if (er?.code !== 'ENOENT') {
|
|
throw er;
|
|
}
|
|
}
|
|
};
|
|
//# sourceMappingURL=ignore-enoent.js.map
|