react-native-background-fetch: BackgroundFetch is not working when the app is Minimized or Terminated

Your Environment

  • Plugin version: 3.0.4
  • Platform: iOS & Android
  • OS version:
  • Device manufacturer / model: Simulator
  • React Native version (react-native -v): 0.60
  • Plugin config

Expected Behavior

BackgroundFetch should work when the app is in Foreground, Minimized and Terminated mode.

Actual Behavior

BackgroundFetch is working only when the app is in Foreground but it is not working when the app is Minimized or Terminated mode.

Steps to Reproduce

Context

Debug logs

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27 (14 by maintainers)

Most upvoted comments

how do I call configure options in headless task

There’s no mechanism to modify the config in headlessTask currently.