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 moreHow do you use headless JS?
Creating our service
Read moreDoes headless JS work on iOS?
For Android (although it seems you have this solved) you can use Headless. js. For iOS you have a few options, depending on your task: react-native-background-fetch .
Read moreCan I run react-native app in background?
With the use of endless task management system in android You can run the task in the background theater the app is in background or the app is in kill mode .
Read moreWhat is headless 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 moreWhat is headless in react?
A headless user interface component is a component that offers maximum visual flexibility by providing no interface . This might sound like providing a user interface pattern without providing a user interface. That’s funny but true. I will demonstrate this pattern with React but this pattern is not specific to React.
Read more