Skip to content

Commit 55c199a

Browse files
authored
fix for push params platform initialization (#517)
1 parent 9093c2f commit 55c199a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/stream_video_push_notification/lib/src/stream_video_push_notification.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ class StreamVideoPushNotificationManager implements PushNotificationManager {
2323
return (CoordinatorClient client) {
2424
final params = _defaultPushParams.merge(pushParams);
2525

26-
StreamVideoPushNotificationPlatform.instance.initData(params.toJson());
26+
if (Platform.isIOS) {
27+
StreamVideoPushNotificationPlatform.instance.initData(params.toJson());
28+
}
2729

2830
return StreamVideoPushNotificationManager._(
2931
client: client,

0 commit comments

Comments
 (0)