flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

🐞ios bgTaskSchedulingFailed

Open the-best-is-best opened this issue 2 years ago • 5 comments

  • [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 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)

the-best-is-best avatar Oct 24 '23 10:10 the-best-is-best

Any update regarding this bug?

devmike01 avatar Oct 25 '23 14:10 devmike01

Is this issue resolved?

abd529 avatar Oct 31 '23 13:10 abd529

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

project4-0 avatar Nov 20 '23 10:11 project4-0

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

the-best-is-best avatar Nov 20 '23 11:11 the-best-is-best

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

gianlucaf92 avatar Dec 19 '23 10:12 gianlucaf92