A
A
Andrey Astafiev2020-04-16 15:51:34
React Native
Andrey Astafiev, 2020-04-16 15:51:34

How to make the application run in the background?

I just started working with React Native and the question is how to do it and can it be done so that the user cannot close the application and it constantly works and performs its tasks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2020-04-16
@RomReed

it is forbidden. You can only wake up the application every few minutes so that it fulfills its functionality, and then again after a while the system will kill it again. This is not a react native problem, this is the principle of the OS, we as developers would like not to kill the application, but this negatively affects the phone's battery.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question