Closed kotran88 closed 1 year ago
I had to add this in the main():
void main() {
WidgetsFlutterBinding.ensureInitialized();
Workmanager().initialize(
callbackDispatcher, // The top level function, aka callbackDispatcher
isInDebugMode:
true // If enabled it will post a notification whenever the task is running. Handy for debugging tasks
);
runApp(MyApp());
}
Yes, thank you for following the docs. :)
what may be the problem ? android setup page doesn't mention any about it. flutter 3.10
I just push Start the Flutter background service also Register Perodic Task(Android)
whole error log says