Code stops working when phone turnsoff

Question: i need help because my code stop working when my phone turns off

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

Stopping the code when the device is turned off or the browser is closed is normal.

To prevent this, you can use one of the paid functions (for cycles):

  1. Always On - the repl will be disabled if it is inactive for a long time.

  2. Deployments - the repl will be launched on a separate machine, that is, it will not stop.

1 Like