We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
issues: when the caller cut the call, the receiver not show a missed call notification only IOS, working on android
it's a function call when receiver receives the missed call notification
CallKit().missedCallkitNotification(call.arguments["senderId"]);
Future missedCallkitNotification(senderId) async { UserModel().getUserData(userId: senderId, onSuccess: (value) async { final params = CallKitParams( id: value['uuid'], nameCaller: "${value[USER_FIRST_NAME]} missed call", appName: 'test', avatar: value[USER_PROFILE_MULTIPHOTOS][0], handle: value[USER_PHONE_NUMBER], type: 0, duration: 30000, textAccept: 'Accept', textDecline: 'Decline', missedCallNotification: const NotificationParams( showNotification: true, isShowCallback: false, subtitle: 'Missed call', ), headers: <String, dynamic>{'apiKey': 'Abc@123!', 'platform': 'flutter'}, android: const AndroidParams( isCustomNotification: true, isShowLogo: false, ringtonePath: 'system_ringtone_default', backgroundColor: '#0955fa', backgroundUrl: 'assets/test.png', actionColor: '#4CAF50', textColor: '#ffffff', ), ios: const IOSParams( iconName: 'CallKitLogo', handleType: '', supportsVideo: true, maximumCallGroups: 2, maximumCallsPerCallGroup: 1, audioSessionMode: 'default', audioSessionActive: true, audioSessionPreferredSampleRate: 44100.0, audioSessionPreferredIOBufferDuration: 0.005, supportsDTMF: true, supportsHolding: true, supportsGrouping: false, supportsUngrouping: false, ringtonePath: 'system_ringtone_default', ), ); await FlutterCallkitIncoming.showMissCallNotification(params); await FlutterCallkitIncoming.endAllCalls(); }, onFail: (e){ debugPrint("Error showMissCallNotification --> $e"); });
}
The text was updated successfully, but these errors were encountered:
is this is working in background even if the app is closed ? i just need to know since it is not working for me
Sorry, something went wrong.
No branches or pull requests
issues: when the caller cut the call, the receiver not show a missed call notification only IOS, working on android
it's a function call when receiver receives the missed call notification
CallKit().missedCallkitNotification(call.arguments["senderId"]);
Future missedCallkitNotification(senderId) async {
UserModel().getUserData(userId: senderId, onSuccess: (value) async {
final params = CallKitParams(
id: value['uuid'],
nameCaller: "${value[USER_FIRST_NAME]} missed call",
appName: 'test',
avatar: value[USER_PROFILE_MULTIPHOTOS][0],
handle: value[USER_PHONE_NUMBER],
type: 0,
duration: 30000,
textAccept: 'Accept',
textDecline: 'Decline',
missedCallNotification: const NotificationParams(
showNotification: true,
isShowCallback: false,
subtitle: 'Missed call',
),
headers: <String, dynamic>{'apiKey': 'Abc@123!', 'platform': 'flutter'},
android: const AndroidParams(
isCustomNotification: true,
isShowLogo: false,
ringtonePath: 'system_ringtone_default',
backgroundColor: '#0955fa',
backgroundUrl: 'assets/test.png',
actionColor: '#4CAF50',
textColor: '#ffffff',
),
ios: const IOSParams(
iconName: 'CallKitLogo',
handleType: '',
supportsVideo: true,
maximumCallGroups: 2,
maximumCallsPerCallGroup: 1,
audioSessionMode: 'default',
audioSessionActive: true,
audioSessionPreferredSampleRate: 44100.0,
audioSessionPreferredIOBufferDuration: 0.005,
supportsDTMF: true,
supportsHolding: true,
supportsGrouping: false,
supportsUngrouping: false,
ringtonePath: 'system_ringtone_default',
),
);
await FlutterCallkitIncoming.showMissCallNotification(params);
await FlutterCallkitIncoming.endAllCalls();
}, onFail: (e){
debugPrint("Error showMissCallNotification --> $e");
});
}
The text was updated successfully, but these errors were encountered: