Cloud Messaging Package #206

Merged
hugo merged 14 commits from notification_bloc/feature/make_the_package_compatible_with_firebase_messaging into master 2023-08-18 14:05:18 +00:00
Showing only changes of commit f4972e629d - Show all commits

View File

@ -38,6 +38,10 @@ class ListenNotification extends StreamUseCase<NoParam, RemoteNotification> {
if (notificationStreamResponse.isOk) {
notificationStream = notificationStreamResponse.ok;
} else if (notificationStreamResponse.isErr) {
if (notificationStreamResponse.err! is UnimplementedError) {
return Err(notificationStreamResponse.err!);
}
final notificationBackgroundStreamResponse =
await _notificationRepository.onNotificationBackground();