Re-enable background-fetch
This commit is contained in:
parent
b9e9aa393a
commit
2c542806da
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Completer<void> _initializationStatus;
|
|||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await _runInForeground();
|
||||
// BackgroundFetch.registerHeadlessTask(_headlessTaskHandler);
|
||||
BackgroundFetch.registerHeadlessTask(_headlessTaskHandler);
|
||||
}
|
||||
|
||||
Future<void> _runInForeground() async {
|
||||
|
|
Loading…
Reference in a new issue