Version
| Technology |
Version |
| Workmanager version |
|
| Xcode version |
|
| Swift version |
|
| iOS deployment target |
|
Describe the error
in callbackDispatcher() function's body, the variable backgroundTask is undefined.
void callbackDispatcher() {
Workmanager().executeTask((task, inputData) {
print("Native called background task: $backgroundTask"); //simpleTask will be emitted here.
return Future.value(true);
});
}
Output of flutter doctor -v