ConnectyCube / connectycube-flutter-call-kit

A Flutter plugin for displaying call screen when the app in the background or terminated.
https://developers.connectycube.com/flutter
Apache License 2.0
57 stars 77 forks source link

Android terminated state call not working #114

Closed AbdurrehmanSubhani closed 9 months ago

AbdurrehmanSubhani commented 10 months ago

Hey!

The callkit call notification display was working perfectly a few days back for both when the app is in the background or terminated using the methods provided in the documentation for when the app is terminated. All of a sudden since yestarday I've not been able to receive callkit calls (no call display appears) when the app is terminated (i have made no changes to the working code), however the function "onCallAcceptedWhenTerminated" works when the app receives a call in the background and a user accepts (all this while the app is not in the foreground)?

TatankaConCube commented 10 months ago

We haven't changed anything in the plugin for a long time too))) I met the case when the plugin didn't show the notification after running the app in debug (from the Android Studio) and then killing it. Then after starting the app by the app icon and killing it, the plugin starts working correctly. It happens because the IDE starts the app with some arguments and after killing the app the system can't run the app with the same arguments.

AbdurrehmanSubhani commented 10 months ago

I tried the method you've mentioned above but it still did not work, i just released a test version of my application to testers who reported receiving the call notification in the terminated state on Android till the previous week until recently for the past couple of days they reported the feature to have not been working. Would this have to do with the recent updates on the connectycube sdk?

TatankaConCube commented 10 months ago

Would this have to do with the recent updates on the connectycube sdk?

no, the SDK can't have an affect on it, especially since the changes were related to the calls only, not to the push notifications

AbdurrehmanSubhani commented 9 months ago