onStart method

  1. @override
Future<bool> onStart()
override

Run the deployment, and after the deployment is finished, enqueue all buffered tasks.

Implementation

@override
Future<bool> onStart() async {
  bool val = await super.onStart();

  await AppTaskController().enqueueBufferedTasks();
  debug(
      '$runtimeType - Deployment finished - ${await SmartPhoneClientManager().notificationController?.pendingNotificationRequestsCount} notifications are currently pending.');

  return val;
}