transistorsoft / react-native-background-fetch

Periodic callbacks in the background for both IOS and Android
MIT License
1.43k stars 191 forks source link

iOS > The operation couldn’t be completed. (BGTaskSchedulerErrorDomain error 1.) #486

Closed rajesh-rt closed 2 weeks ago

rajesh-rt commented 2 months ago

Your Environment

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

  1. Initialise background task
  2. Set delay to 5 sec for scheduled tasks
  3. minimumFetchInterval: 15,

Context

We are trying to delete downloaded files periodically

Debug logs

Your Environment

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

  1. Initialise background task
  2. Set delay to 5 sec for scheduled tasks
  3. minimumFetchInterval: 15,

Context

We are trying to delete downloaded files periodically

Debug logs

christocracy commented 2 months ago

Device manufacturer / model: Simulator

See the README

Screenshot 2024-02-19 at 9 33 37 AM
github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.