flutter-webrtc / callkeep

iOS CallKit and Android ConnectionService for Flutter
MIT License
131 stars 142 forks source link

Unable to receive call #82

Open Chinmay-KB opened 3 years ago

Chinmay-KB commented 3 years ago

When I receive a call, the caller hangs. From the logs it seems like when the call is received, it starts multiple other calls, which somehow don't allow accepting the call. I got the same behaviour when trying to example as well. I am using android 10

ejimenez93 commented 3 years ago

@Chinmay-KB did you ever figure out a solution for this?

Chinmay-KB commented 3 years ago

I didn't continue with this approach. I found making a solution on my own from scratch to be easier than this

ejimenez93 commented 3 years ago

Did you implement the solution natively instead or are you using a Flutter bridge? I ask because we are able to get calls to show up perfectly fine when the app is in the foreground, but on the background and terminated states it doesn't work. I wasn't sure if you were also experiencing this issue. We're using FCM to trigger all notifications (CallKeep + Push Notifications) but haven't yet introduced any PushKit functionality (which I feel is what we're maybe lacking)

Chinmay-KB commented 3 years ago

Everything on native, sadly

cloudwebrtc commented 3 years ago

Did you implement the solution natively instead or are you using a Flutter bridge? I ask because we are able to get calls to show up perfectly fine when the app is in the foreground, but on the background and terminated states it doesn't work. I wasn't sure if you were also experiencing this issue. We're using FCM to trigger all notifications (CallKeep + Push Notifications) but haven't yet introduced any PushKit functionality (which I feel is what we're maybe lacking)

You must use flutter run --release to install, the default xcode debug mode, you cannot start the app in the state of disconnecting xcode.

ejimenez93 commented 3 years ago

@cloudwebrtc we are already doing so. When using PushKit, we get an immediate crash:

_terminateAppIfThereAreUnhandledVoIPPushes

Screen Shot 2021-08-16 at 6 29 01 PM

The payload we are using is the one provided in the example

alvindrakes commented 2 years ago

@cloudwebrtc we are already doing so. When using PushKit, we get an immediate crash:

_terminateAppIfThereAreUnhandledVoIPPushes

Screen Shot 2021-08-16 at 6 29 01 PM

The payload we are using is the one provided in the example

@ejimenez93 hi sir, were you able to solve this problem now? It's been 7 months.

Any other alternatives?