update ios notifications example

This commit is contained in:
Salvatore Giordano
2020-03-30 17:13:13 +02:00
parent 24e32f891e
commit d94371c61b
5 changed files with 61 additions and 5 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
Future<void> _handleBackgroundNotification(
Map<String, dynamic> notification,
) async {
final notificationData = await NotificationService.storeMessage(notification);
final notificationData =
await NotificationService.getAndStoreMessage(notification);
final androidPlatformChannelSpecifics = AndroidNotificationDetails(
'Message notifications',