I am developing a React native application. There is a request in the application that I need to send every 10 seconds. But I am trying to send this request when the application is in the background or closed.
I used the React-native-background-action package, but when I put it in the background, it stops the process. I would be happy if you can help.
First, install the package:
import the package in your .js file