fluttercommunity / flutter_workmanager

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

🐞[IOS}[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(unhandledMethod("registerPeriodicTask") error, Unhandled method registerPeriodicTask, null, null) #499

Open junaidirshad098 opened 10 months ago

junaidirshad098 commented 10 months ago

[IOS] Error : "[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(unhandledMethod("registerPeriodicTask") error, Unhandled method registerPeriodicTask, null, null)"

The work manager working fine in Android but not in IOS. I have added in info.plist Permitted background task scheduler identifiers with items but they are producing this error "[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(unhandledMethod("registerPeriodicTask") error, Unhandled method registerPeriodicTask, null, null)" Can you please provide me with a good solution to resolve this error? Thanks.

AnthonyRootdevs commented 10 months ago

are you fixed it .?

f1dz commented 8 months ago

Similar to this #489

absar commented 8 months ago

Check https://github.com/fluttercommunity/flutter_workmanager/pull/511