How do you detect if a user exits an app and if the app is in the background?

I want to know if the app is in the background so then it will only send a notification. I have used the notification style extension and I need the app to detect if it is in the background.

I couldn't find any forums about this or an extension.


This works very much thank you! :grinning:

Is there a way to link it to a loop such as clock timer?
I don't want to use a function loop because of the broken stuff that happens

This is my code currently and this causes the app to freeze:

You created an endless loop to call the check procedure again and again

If you want to check a value in the spreadsheet in the background, you have to use itoo



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.