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

Timeout, callback #140

Open
a7mdragab opened this issue Feb 20, 2024 · 3 comments
Open

Timeout, callback #140

a7mdragab opened this issue Feb 20, 2024 · 3 comments

Comments

@a7mdragab
Copy link

Dears,
Is there any way to detect timeout and make call back btn appear?

Thanks in advance

@TatankaConCube
Copy link
Contributor

in the current realisation required feature is unavailable. you can try to implement it by yourself using the callback onCallIncoming/onCallIncomingWhenTerminated where you can start your timer and after timer is over you can cancel the call notification and display your own with the required buttons.

@coreyfreeman82
Copy link

coreyfreeman82 commented May 1, 2024

I tried using the onCallingIncoming callback but it didn't seem to execute.
I have:
ConnectycubeFlutterCallKit.instance .init(onCallAccepted: _onCallAccepted, onCallRejected: _onCallRejected, onCallIncoming: _onCallIncoming);
The accepted and rejected callbacks work but the call incoming did never seem to trigger. I assume this should trigger when I show the callkit using ConnectycubeFlutterCallKit.showCallNotification(callEvent);

@TatankaConCube
Copy link
Contributor

the callbacks onCallIncoming/onCallIncomingWhenTerminated will be executed in a case when the plugin shows CallKit by itself by the push notification. if you show the CallKit by yourself it means that you know when you start to do it, and you can start your timer there.

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