Cloud Messaging Package #206
| @ -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(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user