Re-enable background-fetch

This commit is contained in:
Vishnu Mohandas 2021-03-03 21:37:15 +05:30
parent b9e9aa393a
commit 2c542806da

View file

@ -24,7 +24,7 @@ Completer<void> _initializationStatus;
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await _runInForeground();
// BackgroundFetch.registerHeadlessTask(_headlessTaskHandler);
BackgroundFetch.registerHeadlessTask(_headlessTaskHandler);
}
Future<void> _runInForeground() async {