fluttercommunity/flutter_workmanager

🐞ios bgTaskSchedulingFailed

the-best-is-best opened this issue · 5 comments

  • I have read the README
  • I have done the setup for Android
  • I have done the setup for iOS
  • I have ran the sample app and it does not work there

Version

Technology Version
Workmanager version 0.5.3
Xcode version 15
Swift version
iOS deployment target 17

Describe the error
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)

Any update regarding this bug?

abd529 commented

Is this issue resolved?

This is why you havent registered this task as per instructions. In IOS all task has to be registered first in order to be executed. In Runner -> AppDelegate.swift and in Info.plist

Ok how do this i make it but not work
And why don't support schedule task in ios

This problem is also present in version 0.5.1 and 0.5.2. Has anyone managed to solve it?