Skip to content

iOS: statusbar pill and proximity sensing not working on outgoing call #1293

Description

@bbjay

When I receive & accept an audio only call on iOS, the statusbar shows a green pill on the left and when I raise the phone to my ear, the screen turns black (proximity sensor). Manually switching from earpiece to speaker temporarily disables the proximity sensing.

When I start an audio only call and the other end accepts, no green pill is shown and the proximity sensing does not trigger. Changing manually from earpiece to speaker and back does not activate sensing.
When leaving the app with the call still active, an orange microphone pill appears at the top left, not the expected green telephone pill.

It seems that the correct CallKit state is only applied on the receiving end, not on the calling end.

These are the audio settings used:

await call.getOrCreate(
  memberIds: receivers.map((e) => e.toString()).toList(),
  ringing: true,
  audio: const StreamAudioSettings(
    accessRequestEnabled: true,
    defaultDevice: .earpiece,
    speakerDefaultOn: false,
  ),
  videoSettings: const StreamVideoSettings(cameraDefaultOn: false),
);

pubspec.yaml:

  stream_video_flutter: ^1.4.2
  stream_video_push_notification: ^1.4.2

Tested on iOS 26.5

edit: an earlier version stated incorrectly that audio out is set to speaker. audio out is correctly set according to settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions