fluttercommunity / flutter_workmanager

A Flutter plugin which allows you to execute code in the background on Android and iOS.
825 stars 247 forks source link

🐞ios bgTaskSchedulingFailed #517

Open the-best-is-best opened 8 months ago

the-best-is-best commented 8 months ago

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)

devmike01 commented 8 months ago

Any update regarding this bug?

abd529 commented 8 months ago

Is this issue resolved?

project4-0 commented 7 months ago

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

the-best-is-best commented 7 months ago

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

gianlucaf92 commented 6 months ago

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