Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@ const _defaultPushParams = StreamVideoPushParams(
subtitle: 'Missed call',
callbackText: 'Call back',
),
callingNotification: NotificationParams(
showNotification: false,
),
android: AndroidParams(
isCustomNotification: true,
isShowLogo: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class StreamVideoPushParams extends CallKitParams {
super.textAccept,
super.textDecline,
super.missedCallNotification,
super.callingNotification,
super.extra,
super.headers,
super.android,
Expand All @@ -34,6 +35,7 @@ class StreamVideoPushParams extends CallKitParams {
super.textAccept,
super.textDecline,
super.missedCallNotification,
super.callingNotification,
super.extra,
super.headers,
super.android,
Expand All @@ -52,6 +54,7 @@ class StreamVideoPushParams extends CallKitParams {
String? textAccept,
String? textDecline,
NotificationParams? missedCallNotification,
NotificationParams? callingNotification,
Map<String, Object?>? extra,
Map<String, Object?>? headers,
AndroidParams? android,
Expand All @@ -69,6 +72,7 @@ class StreamVideoPushParams extends CallKitParams {
textDecline: textDecline ?? this.textDecline,
missedCallNotification:
missedCallNotification ?? this.missedCallNotification,
callingNotification: callingNotification ?? this.callingNotification,
extra: extra ?? this.extra,
headers: headers ?? this.headers,
android: android ?? this.android,
Expand All @@ -92,6 +96,8 @@ class StreamVideoPushParams extends CallKitParams {
textDecline: other.textDecline,
missedCallNotification:
missedCallNotification?.merge(other.missedCallNotification),
callingNotification:
callingNotification?.merge(other.callingNotification),
extra: other.extra,
headers: other.headers,
android: android?.merge(other.android),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/stream_video_push_notification/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
firebase_messaging: ^15.2.0
flutter:
sdk: flutter
flutter_callkit_incoming: ^2.5.0
flutter_callkit_incoming: ^2.5.2
json_annotation: ^4.9.0
meta: ^1.9.1
plugin_platform_interface: ^2.1.8
Expand Down