fluttercommunity / flutter_workmanager

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

iOS Periodic Task Not Triggering callbackDispatcher on Real Device but Works on Simulator #574

Open rapkatt opened 1 month ago

rapkatt commented 1 month ago

App does not trigger the callbackDispatcher method on a real iOS device. However, the task works as expected on the iOS simulator.

Steps to Reproduce:

  1. Schedule the task with a repeat interval (e.g., 15 min). 2.Deploy the app to a real iOS device and wait for the periodic task to trigger. 3.The task not trigger callbackDispatcher on the real device.

Test Methods:

Results:

Expected Behavior

Flutter version: 3.24.3 WorkManager version:
git: url: https://github.com/fluttercommunity/flutter_workmanager.git ref: b783000 iOS version: 17.5.1 Device: 11 Pro Max

Screenshot 2024-10-24 at 00 03 06

Screenshot 2024-10-24 at 00 03 44

Screenshot 2024-10-24 at 00 04 07

Screenshot 2024-10-24 at 00 04 33

arun-gautham commented 16 hours ago

did this work, ?