I have a Flutter project that uploads files in background mode, implemented as a plugin for the iOS part.
It works fine in debug mode when running from Xcode, but no files are uploaded in release mode (installed via .ipa).
I implemented functions such as BGAppRefreshTask and BGProcessingTask, and configured BGTaskSchedulerErrorCodeNotPermitted properly in Info.plist.
I registered background tasks (processing and fetch), and BGTaskScheduler also works well.
The issue is that it works fine in debug mode but not in release mode.
Do I need to modify some settings in the .entitlements file or configure something else?
Environment:
macOS: Sequoia 15.7.7
Xcode: 26.3
Flutter SDK: 3.19.5
2
0
39