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

Open
#1,293 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
dart, flutter, ios

Research direction

No source files or tests are named in the issue. First reproduce an outgoing audio-only iOS call with the shown earpiece settings and compare it with an incoming accepted call; done means the outgoing call shows the green telephone status pill, activates proximity sensing, and uses the expected call indicator when the app is backgrounded.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Dart
Stars
79
Forks
55
Avg merge
2d 12h
Merged PRs (30d)
142

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/stream-video-flutter

All issues in GetStream/stream-video-flutter

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.