hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
180 stars 312 forks source link

Android : How user will get to know is Incoming Audio call or Video call #556

Open Allamprabhu11 opened 4 months ago

Allamprabhu11 commented 4 months ago

Hi,

For iOS I have handled type is videocall 1 or 0 to deferentate is audio or video call, and it working fine. But for Android i have config as,

Future showCallkitIncoming(String uuid, dynamic extras) async { if (!AppConstants.mobileOnly) { return; } final params = CallKitParams( id: uuid, nameCaller: callerName, appName: 'Intercommz', avatar: callerPic, // handle: '0123456789', type: 0 or 1 , // based on flag duration: 30000, textAccept: 'Accept', textDecline: 'Decline',

so this is not working to display the type of call in Android.

Can some help me in this