startForegroundService method

  1. @override
Future<bool> startForegroundService({
  1. required String pollingUrl,
  2. int? intervalMinutes,
  3. String? channelId,
})
override

Start a foreground service for continuous notification polling.

Implementation

@override
Future<bool> startForegroundService({
  required String pollingUrl,
  int? intervalMinutes,
  String? channelId,
}) async {
  // Web doesn't have foreground services like Android
  // We'll just return false to indicate it's not supported
  return false;
}