Currently, there is, unfortunately, no support for background tasks of any kind . The feature you are referring to would be a background timer. Such a timer is this product pain (a feature request) for react native, you may upvote it to show an increased demand for this feature.
Read moreWhat is Headlessjs?
Step 5 — Creating the Headless Service A Headless JS is a RN service able to encapsulate some javascript operations and execute them detached from the application, like an android service .
Read moreWhat is Headlessjs in react native?
Headless JS is a way to run tasks in JavaScript while your app is in the background . It can be used, for example, to sync fresh data, handle push notifications, or play music.19 Oca 2022
Read moreHow do you detect app is in background in react native?
Contents in this project Detect App is in Background or Foreground using AppState in React Native Android iOS App:
Read more