Skip to content

Commit 8ac2cc0

Browse files
authored
bump flutter callkit incoming (#926)
1 parent e3827bd commit 8ac2cc0

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

packages/stream_video_push_notification/lib/src/stream_video_push_notification.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,9 @@ const _defaultPushParams = StreamVideoPushParams(
485485
subtitle: 'Missed call',
486486
callbackText: 'Call back',
487487
),
488+
callingNotification: NotificationParams(
489+
showNotification: false,
490+
),
488491
android: AndroidParams(
489492
isCustomNotification: true,
490493
isShowLogo: false,

packages/stream_video_push_notification/lib/src/stream_video_push_params.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class StreamVideoPushParams extends CallKitParams {
1717
super.textAccept,
1818
super.textDecline,
1919
super.missedCallNotification,
20+
super.callingNotification,
2021
super.extra,
2122
super.headers,
2223
super.android,
@@ -34,6 +35,7 @@ class StreamVideoPushParams extends CallKitParams {
3435
super.textAccept,
3536
super.textDecline,
3637
super.missedCallNotification,
38+
super.callingNotification,
3739
super.extra,
3840
super.headers,
3941
super.android,
@@ -52,6 +54,7 @@ class StreamVideoPushParams extends CallKitParams {
5254
String? textAccept,
5355
String? textDecline,
5456
NotificationParams? missedCallNotification,
57+
NotificationParams? callingNotification,
5558
Map<String, Object?>? extra,
5659
Map<String, Object?>? headers,
5760
AndroidParams? android,
@@ -69,6 +72,7 @@ class StreamVideoPushParams extends CallKitParams {
6972
textDecline: textDecline ?? this.textDecline,
7073
missedCallNotification:
7174
missedCallNotification ?? this.missedCallNotification,
75+
callingNotification: callingNotification ?? this.callingNotification,
7276
extra: extra ?? this.extra,
7377
headers: headers ?? this.headers,
7478
android: android ?? this.android,
@@ -92,6 +96,8 @@ class StreamVideoPushParams extends CallKitParams {
9296
textDecline: other.textDecline,
9397
missedCallNotification:
9498
missedCallNotification?.merge(other.missedCallNotification),
99+
callingNotification:
100+
callingNotification?.merge(other.callingNotification),
95101
extra: other.extra,
96102
headers: other.headers,
97103
android: android?.merge(other.android),

packages/stream_video_push_notification/lib/src/stream_video_push_params.g.dart

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_video_push_notification/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
firebase_messaging: ^15.2.0
1717
flutter:
1818
sdk: flutter
19-
flutter_callkit_incoming: ^2.5.0
19+
flutter_callkit_incoming: ^2.5.2
2020
json_annotation: ^4.9.0
2121
meta: ^1.9.1
2222
plugin_platform_interface: ^2.1.8

0 commit comments

Comments
 (0)