Post

Replies

Boosts

Views

Activity

Reply to LiveCommunicationKit: In‑call banner missing in foreground, only appears after app goes background (iPhone14 Pro)
It reproduces in Speakerbox on both devices. I built MakingAndReceivingVoIPCallsWithCallKit.zip unmodified except setting our development team and raising the deployment target to 16.0 (Xcode rejects 13.0 for the Intents extension), then used its "Incoming Call" button (5-second delay) with Speakerbox in front: iPhone 18 Pro Max, iOS 27.3 (24C5049f): the incoming call appears at the top with Decline and Answer over Speakerbox (runningForeground). iPad Pro 11-inch (4th generation), iPadOS 27.3: a banner with "Speakerbox Audio", the caller, and Decline and Answer appears over Speakerbox. An iPhone sysdiagnose right after a Speakerbox ring at 18:18:52 shows: 18:18:57.526 callservicesd Received add incoming call request from call source <CXXPCCallSource ... identifier=com.example.apple-samplecode.callkit-speakerbox-sample isConnected=1 ... isPermittedToUsePublicAPI=1 isPermittedToUsePrivateAPI=0> 18:18:57.631 InCallService shouldPresentDismissedForCall: callStatus:4, isExpanseMessages:0, isConversation:0, isOutgoing:0, isAudioCall:1, wantsStagingArea:0 avLessWantsDismissed:0 callProviderWantsDismissed:NO isOutgoingIpadFTA:0 tappedPill:NO screeningWantsDismissed:NO 18:18:57.631 InCallService performPresentationWithConfiguration: preferredPresentationMode = dismissed; preferredBannerHeight = 104.00; supportsSystemAperture = YES; 18:18:57.631 InCallService Requested a new scene with presentationMode=dismissed userInitiated=0 18:18:57.726 InCallService HUDActivityManager - updateSystemApertureElement type:incomingThirdPartyVoIPCallOn iPhone, InCallService dismisses the in-call scene as designed, but the Dynamic Island still shows the incoming call with Decline and Answer over the foreground app. The earlier preferredPresentationMode = banner line came from the iPad, which has no Dynamic Island. To clarify, we do not skip LiveCommunicationKit in the foreground. We report every incoming call with reportNewIncomingConversation when it starts ringing, including in front, and run all call audio in the audio session activated by conversationManager(_:didActivate:). I meant reporting at ring time instead of answer time. Earlier, only while in front (PushKit's mustReport was false), we tried ringing in our own UI and reporting at Answer, then joining about 20 ms later. On iPad that sometimes switched to the full-screen call UI, so we returned to reporting at ring time. I filed FB25698574 with the sysdiagnose and screenshots. Is there a supported way for a foreground app with its own ringing UI to keep the system's incoming-call UI (the Dynamic Island element on iPhone, the banner on iPad) from showing, or is this expected behavior on iOS 27?
2d
Reply to LiveCommunicationKit: In‑call banner missing in foreground, only appears after app goes background (iPhone14 Pro)
Seeing the opposite on iOS 27.3. With our app active and in front, `reportNewIncomingConversation` shows the system's incoming call banner on top of our own ringing screen. Happens every time on an iPhone 18 Pro Max and an iPad Pro, both 27.3. The device log shows the system knows the app is in front and picks the banner anyway: callservicesd Received state update for ... running-active-Visible InCallService shouldPresentDismissedForCall: callStatus:4 ... callProviderWantsDismissed:NO InCallService preferredPresentationMode = banner We only report while in front because reporting at answer time sometimes made the iPad switch to the full-screen call UI. **Is the banner expected now, and is there a supported way to avoid it?** I found a private flag that does this (`shouldSuppressInCallUI`), but I can't use a private API in an App Store app.
1w
Reply to LiveCommunicationKit: In‑call banner missing in foreground, only appears after app goes background (iPhone14 Pro)
It reproduces in Speakerbox on both devices. I built MakingAndReceivingVoIPCallsWithCallKit.zip unmodified except setting our development team and raising the deployment target to 16.0 (Xcode rejects 13.0 for the Intents extension), then used its "Incoming Call" button (5-second delay) with Speakerbox in front: iPhone 18 Pro Max, iOS 27.3 (24C5049f): the incoming call appears at the top with Decline and Answer over Speakerbox (runningForeground). iPad Pro 11-inch (4th generation), iPadOS 27.3: a banner with "Speakerbox Audio", the caller, and Decline and Answer appears over Speakerbox. An iPhone sysdiagnose right after a Speakerbox ring at 18:18:52 shows: 18:18:57.526 callservicesd Received add incoming call request from call source <CXXPCCallSource ... identifier=com.example.apple-samplecode.callkit-speakerbox-sample isConnected=1 ... isPermittedToUsePublicAPI=1 isPermittedToUsePrivateAPI=0> 18:18:57.631 InCallService shouldPresentDismissedForCall: callStatus:4, isExpanseMessages:0, isConversation:0, isOutgoing:0, isAudioCall:1, wantsStagingArea:0 avLessWantsDismissed:0 callProviderWantsDismissed:NO isOutgoingIpadFTA:0 tappedPill:NO screeningWantsDismissed:NO 18:18:57.631 InCallService performPresentationWithConfiguration: preferredPresentationMode = dismissed; preferredBannerHeight = 104.00; supportsSystemAperture = YES; 18:18:57.631 InCallService Requested a new scene with presentationMode=dismissed userInitiated=0 18:18:57.726 InCallService HUDActivityManager - updateSystemApertureElement type:incomingThirdPartyVoIPCallOn iPhone, InCallService dismisses the in-call scene as designed, but the Dynamic Island still shows the incoming call with Decline and Answer over the foreground app. The earlier preferredPresentationMode = banner line came from the iPad, which has no Dynamic Island. To clarify, we do not skip LiveCommunicationKit in the foreground. We report every incoming call with reportNewIncomingConversation when it starts ringing, including in front, and run all call audio in the audio session activated by conversationManager(_:didActivate:). I meant reporting at ring time instead of answer time. Earlier, only while in front (PushKit's mustReport was false), we tried ringing in our own UI and reporting at Answer, then joining about 20 ms later. On iPad that sometimes switched to the full-screen call UI, so we returned to reporting at ring time. I filed FB25698574 with the sysdiagnose and screenshots. Is there a supported way for a foreground app with its own ringing UI to keep the system's incoming-call UI (the Dynamic Island element on iPhone, the banner on iPad) from showing, or is this expected behavior on iOS 27?
Replies
Boosts
Views
Activity
2d
Reply to LiveCommunicationKit: In‑call banner missing in foreground, only appears after app goes background (iPhone14 Pro)
Seeing the opposite on iOS 27.3. With our app active and in front, `reportNewIncomingConversation` shows the system's incoming call banner on top of our own ringing screen. Happens every time on an iPhone 18 Pro Max and an iPad Pro, both 27.3. The device log shows the system knows the app is in front and picks the banner anyway: callservicesd Received state update for ... running-active-Visible InCallService shouldPresentDismissedForCall: callStatus:4 ... callProviderWantsDismissed:NO InCallService preferredPresentationMode = banner We only report while in front because reporting at answer time sometimes made the iPad switch to the full-screen call UI. **Is the banner expected now, and is there a supported way to avoid it?** I found a private flag that does this (`shouldSuppressInCallUI`), but I can't use a private API in an App Store app.
Replies
Boosts
Views
Activity
1w