TF-1812 Handle add sending email to queue in work manager

(cherry picked from commit c5d89665f525550949bf4e694133ce5ea2777846)
This commit is contained in:
dab246
2023-05-26 08:51:16 +07:00
committed by Dat Vu
parent c98be4cfc5
commit fc94e0aa04
14 changed files with 122 additions and 34 deletions
@@ -1,4 +1,5 @@
import 'package:core/utils/app_logger.dart';
import 'package:tmail_ui_user/features/offline_mode/observer/work_observer.dart';
class SendingEmailObserver extends WorkObserver {
@@ -11,9 +12,13 @@ class SendingEmailObserver extends WorkObserver {
@override
Future<void> observe(String taskId, Map<String, dynamic> inputData) async {
log('SendingEmailObserver::observe():taskId: $taskId | inputData: $inputData');
return Future.value();
}
@override
Future<void> bindDI() async {
log('SendingEmailObserver::bindDI(): ');
return Future.value();
}
}