flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

Plugin doesn't work on iOS

Open t-kietzmann opened this issue 2 years ago • 1 comments

I'm trying to use the plugin on Android and iOS and followed both Platform instructions and I'm also run the example app.

On iOS I don't get any feedback, Android works as expected.

Flutter 3.0.2, Real Device iPhone SE iOS 15.1

t-kietzmann avatar Jun 13 '22 14:06 t-kietzmann

I have the same issue.

I tried to print something on my callbackDispatcher. It's working on Android but the function is never called on iOS.

Flutter 3.0.5, Real Device iPhone 12 iOS 15.5

ncatallo avatar Sep 18 '22 20:09 ncatallo

Same issue, Workmanager().executeTask((task, inputData) { // not reach here on IOS}, i try with example app and my code, both not work on real device IOS 16.0.2

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 3.4.0-34.0.pre, on macOS 12.6 21G115 darwin-x64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [✓] Xcode - develop for iOS and macOS (Xcode 14.0.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] Connected device (3 available) [✓] HTTP Host Availability

AnasSafi avatar Oct 01 '22 04:10 AnasSafi

iOS Background processing is slightly varied. Are you trying to submit a task using a specific ID and is the ID registered according to the instructions in the README? Remember you need to configure Info.plist with that ID as well.

Feel free to re-open with more details and perhaps a repro case.

ened avatar Oct 21 '22 20:10 ened

I still have this issue. Does it work for the people that had this problem? What did you change?

maxmitz avatar Dec 08 '22 14:12 maxmitz