-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem with calls after hot restart #19
Comments
Hello! Regarding the issue with hot restart.
Regarding the issue with flutter_callkit_incoming plugin. |
When pressing hot restart or answering one call in the background and trying to answer another call without closing and reopening the app the answerCall function tells ( Trying to answer having no active call ) |
"Trying to answer having no active call" is the exact error? Do you see it in the logs? Could you please add a logs snippet here? Regarding the case, do I understand correctly that you have 2 simultenious incoming calls at the moment and you try to answer one or both of them?
is it a correct scenario? Sorry, I have a misunderstanding about the case |
step-by-step scenario is: 1- app is in the background |
Any updates or help ????!!!! |
Is there any solution to my problem ?!!!!!!!!!!!!!! |
Hello @AsemAmmar99 , According to the screenshot, the issue is caused by missing VICall instance. However I can't reproduce the issue with demo project. I see 3 possible reasons:
According to that please answer the following questions:
Best regards, |
1- No, when there are no calls. |
4- No, after receiving call1 in the background and answering or declining it, I don't receive VIClient, onIncomingCall event, I only receive the notification. |
Hello @AsemAmmar99, If you don't receive VIClient.onIncomingCall event that's may be the reason, since VICall instance as well as its call id, can only be gotten with this event. Can you please check VIClient state? If it is not logged in, you should connect and login to the Voximplant Cloud, when you receive a push notification. Best regards, |
I connected and logged in to the Voximplant Cloud when I received a push notification, but sadly the problem remains. |
Hi @AsemAmmar99 I would recommend to collect the logs (all output from the application start including sdk logs with tags Without the logs it's difficult to say what's wrong. Best regards, |
Hello, My issue is that all calls failed after a hot restart or after answering 1 call from the background using flutter_callkit_incoming plugin push UI and it doesn't work again till closing and reopening my application.
The text was updated successfully, but these errors were encountered: