iOS > The operation couldn’t be completed. (BGTaskSchedulerErrorDomain error 1.)
rajesh-rt opened this issue · 3 comments
rajesh-rt commented
Your Environment
- Plugin version: 4.2.2
- Platform: iOS
- OS version: 14
- Device manufacturer / model: Simulator
- React Native version (
react-native -v
): 0.72.6 - Plugin config
Expected Behavior
The onEvent() should be called
Actual Behavior
Getting a promise rejection error: The operation couldn’t be completed. (BGTaskSchedulerErrorDomain error 1.)
Steps to Reproduce
- Initialise background task
- Set delay to 5 sec for scheduled tasks
- minimumFetchInterval: 15,
Context
We are trying to delete downloaded files periodically
Debug logs
Your Environment
- Plugin version: 4.2.2
- Platform: iOS
- OS version: 14
- Device manufacturer / model: Simulator
- React Native version (
react-native -v
): 0.72.6 - Plugin config
Expected Behavior
The onEvent() should be called
Actual Behavior
Getting a promise rejection error: The operation couldn’t be completed. (BGTaskSchedulerErrorDomain error 1.)
Steps to Reproduce
- Initialise background task
- Set delay to 5 sec for scheduled tasks
- minimumFetchInterval: 15,
Context
We are trying to delete downloaded files periodically
Debug logs
- iOS: '[BackgroundFetch] configure status: ', 2
2024-02-19 17:58:44.878321+0530 Stackyon[15051:359427] [TSBackgroundFetch scheduleProcessingTask]
2024-02-19 17:58:44.903356+0530 Stackyon[15051:359427] notifier request success
2024-02-19 17:58:46.881294+0530 Stackyon[15051:272621] [javascript] Possible Unhandled Promise Rejection (id: 5):
"The operation couldn’t be completed. (BGTaskSchedulerErrorDomain error 1.)"
christocracy commented
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.