flutter_workmanager
flutter_workmanager copied to clipboard
[Doc] IOS Backgroung processing didn't work on simulator
- [x] I have read the README
- [x] I have done the setup for Android
- [x] I have done the setup for iOS
- [x] I have ran the sample app and it does not work there
Version
| Technology | Version |
|---|---|
| Workmanager version | |
| Xcode version | |
| Swift version | |
| iOS deployment target |
Describe the error
https://developer.apple.com/documentation/backgroundtasks/bgtaskscheduler/error/code/unavailable
The doc should mention :
app running on Simulator doesn’t support background processing.

Else this error will appear :
flutter: PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)") error, Scheduling the task using BGTaskScheduler has failed.
This may be due to too many tasks being scheduled but not run.
See the error for details: Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)"., null, null)
flutter:
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:177:18)
<asynchronous suspension>
#2 Workmanager.registerOneOffTask (package:workmanager/src/workmanager.dart:186:7)
<asynchronous suspension>
Output of flutter doctor -v
This bug was fixed? I have the same problem