Skip to content

onConnectedToUser is not being excuted #369

@kzawadi

Description

@kzawadi

So I have a stateful widget and it implements the RTCSessionStateCallback<P2PSession>
and so overrides all the methods. but the onConnectedToUser is not getting executed when I answer the call from Callkit.
This happens on ios and I am on ios 18

[] Chat sample
[x] P2P Calls sample
[] Conference Calls sample

Platform (use [x])
[] Android
[x] iOS
[] macOS
[] Windows
[] Web
[] Linux

Device info
Manufacturer: Apple
Model: 13 pro max
OS version: 18.1

Describe the bug:
So I have a stateful widget and it implements the RTCSessionStateCallback<P2PSession>
and so overrides all the methods. but the onConnectedToUser is not getting executed when I answer the call from Callkit.
This happens on ios and I am on ios 18

Steps to Reproduce:

  1. conversation page try to log something on the method onConnectedToUser
  2. get a call
  3. answer using call kit when your have locked the phone

Logs:

log here

or
Gist log

Actual result:

Expected behaviour:
A callback should execute the logic I have on that callback method

Additional info
Add any other context about the problem here.

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