-
Notifications
You must be signed in to change notification settings - Fork 352
Description
- I have read the README
- I have done the setup for Android
- I have done the setup for iOS
- I have ran the sample app and it does not work there
Version
| Technology | Version |
|---|---|
| Workmanager version | 0.9.0+3 |
| Xcode version | |
| Swift version | |
| iOS deployment target |
Describe the error
Describe error
Maybe I'm doing something wrong but -
Even on example code from this repo not runs periodic task when should, by initialDelay in 10 sec but runs after 10-15 minutes, also here invocation in my code(in my code it not runs at all) -
getIt().registerPeriodicTask(
WorkmanagerKeys.periodicTaskSyncMissionsKey,
WorkmanagerKeys.periodicTaskSyncMissionsKey,
frequency: const Duration(minutes: 15),
constraints: Constraints(
networkType: NetworkType.connected,
requiresBatteryNotLow: false,
requiresCharging: false,
requiresDeviceIdle: false,
requiresStorageNotLow: false,
),
);
registerOneOfTask work well...
Output of flutter doctor -v
flutter doctor -v
[β] Flutter (Channel stable, 3.35.3, on Microsoft Windows [Version 10.0.26100.6584], locale uk-UA) [687ms]
β’ Flutter version 3.35.3 on channel stable at C:\Users\Denys\fvm\versions\3.35.3
β’ Upstream repository https://github.com/flutter/flutter.git
β’ Framework revision a402d9a437 (4 weeks ago), 2025-09-03 14:54:31 -0700
β’ Engine revision ddf47dd3ff
β’ Dart version 3.9.2
β’ DevTools version 2.48.0
β’ Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[β] Windows Version (Windows 11 or higher, 24H2, 2009) [1 893ms]
[β] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [19,6s]
β’ Android SDK at C:\src\SDK
β’ Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
β’ Platform android-36, build-tools 36.1.0-rc1
β’ ANDROID_SDK_ROOT = C:\src\SDK
β’ Java binary at: C:\src\AndroidStudio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
β’ Java version OpenJDK Runtime Environment (build 21.0.7+-13880790-b1038.58)
β’ All Android licenses accepted.
[β] Chrome - develop for the web [374ms]
β’ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[β] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.14.13 (August 2025)) [373ms]
β’ Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
β’ Visual Studio Build Tools 2022 version 17.14.36414.22
β’ Windows 10 SDK version 10.0.26100.0
[β] Android Studio (version 2024.1) [18ms]
β’ Android Studio at C:\src\Android
β’ Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
β’ Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
β’ Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
[β] Android Studio (version 2025.1.3) [15ms]
β’ Android Studio at C:\src\AndroidStudio
β’ Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
β’ Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
β’ Java version OpenJDK Runtime Environment (build 21.0.7+-13880790-b1038.58)
[β] Connected device (4 available) [729ms]
β’ 2412DPC0AG (mobile) β’ TOSW4HSCC65DNBHI β’ android-arm64 β’ Android 15 (API 35)
β’ Windows (desktop) β’ windows β’ windows-x64 β’ Microsoft Windows [Version 10.0.26100.6584]
β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 140.0.7339.208
β’ Edge (web) β’ edge β’ web-javascript β’ Microsoft Edge 140.0.3485.66
[β] Network resources [576ms]
β’ All expected network resources are available.
β’ No issues found!