Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS - unable to recieve incoming call notification when the app is in background. #153

Open
fasikawsow opened this issue Sep 13, 2022 · 5 comments

Comments

@fasikawsow
Copy link

I used callkeep to show incoming call notification for my video call app.

for the android part, it is working fine. I am receiving incoming call in foreground and background.

but for ios, The app shows incoming call screen when it is opened. if I touched the home button and the app is minimized. I am not receiving call notifications, the incoming call screen will displayed as soon as I click the app icon.

I am using callkeep: ^0.3.2.

How to resolve this issue?.

@fasikawsow
Copy link
Author

@cloudwebrtc This is an urgent situation. I am asking you maybe you can look at my Issue and help fix the problem. I have been struggling with this problem for a long time.

@alexzh16
Copy link

@cloudwebrtc This is an urgent situation. I am asking you maybe you can look at my Issue and help fix the problem. I have been struggling with this problem for a long time.
first of all please configure Voip Push server, without Voip push server on ios is not working (or use commercial voip push servers). Or you can send push as message to your App and then call CallKeepDidDisplayIncomingCall for the show CallKit screen.

@AbdurrehmanSubhani
Copy link

Hey, did you find any solution or fix for this issue?

@fasikawsow
Copy link
Author

Hey, did you find any solution or fix for this issue?

I didn't find a solution this functionality is pending

@AbdurrehmanSubhani
Copy link

Hey, did you find any solution or fix for this issue?

I didn't find a solution this functionality is pending

Hey, i solved this background/terminated calling issue. You can use this if your still looking for a solution for this issue:

  1. Currently Callkeep package does not support showing callkit call in background/terminated state after receiving a Voip push, maybe they are working on a solution for this and patch this in the near future
  2. Use flutter_callkit_incoming package to handle incoming voip push notifications, make sure to copy and add the appdelegate.swift file into your projects appdelegate file, doing so you will be able to handle the voip pushes
  3. I have tested this approach and can verify that the solution is working when the app is in background and terminated mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants