Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ios): show channel name instead of participant in CallKit incoming call UI (#4476)

Jacob Beckerman08f46fad8cec
diff --git a/js/app/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift b/js/app/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
index 444edcd53b..03d3d72cab 100644
--- a/js/app/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
+++ b/js/app/tauri/callkit_plugin/ios/Sources/IncomingCallCoordinator.swift
@@ -320,7 +320,10 @@ final class IncomingCallCoordinator: NSObject, CXProviderDelegate, PKPushRegistr
let update = CXCallUpdate()
update.remoteHandle = CXHandle(type: .generic, value: channelName ?? channelId)
- update.localizedCallerName = callerName
+ // CallKit renders localizedCallerName as the headline of the incoming
+ // call UI; show the channel so a group call isn't mistaken for a
+ // personal call from whoever started it.
+ update.localizedCallerName = channelName ?? callerName
update.hasVideo = true
// Must happen from the PushKit delegate; otherwise iOS can terminate us.