Fix EvenHub apps on iOS access to the mic

This commit is contained in:
James Babcock committed 2026-10-25 14:19:45 -07:00
1 parent 247459bf99
commit 53812609ed
5 files changed
+138 -3

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ export type EvenHubMicClient = {
deliverAudioPcm(pcm: Uint8Array): void;
};
/** Android's session for the raw tap; iOS binds its own to the bridge (setRawSession). */
function activeCommunicator(): any {
if (!global.isAndroid) return null;
try {
-1
View File
@@ -726,7 +726,6 @@ export class EvenHubSession implements EvenHubMicClient, EvenHubImuClient, EvenH
* flows (foreground + screen on + no assistant modal).
*/
private audioControl(data: Record<string, unknown>): boolean {
if (global.isIOS) return false; // EvenHub PCM routing is not ported yet.
if (!permissionsIncludeMicrophone(this.manifest.permissions)) {
this.log("evenhub: audioControl denied (app declares no microphone permission)");
return false;