Running Database in Background

I have an application and I need it to execute requests to the database in the background. I have performed several tests with the database in the background but it did not work. When the application is in the foreground it works perfectly.
Could someone help me solve this problem?
Thank you

What did you try?

Tried Itoo extension?

I need to validate in the database if a table has information, and notify the application of the occurrence, but this in real time.

I have already tried using itoo, but it did not work, because when I try to generate .aab and upload it to the Play Store, a warning message appears saying that it is not possible.

Please provide the warning text and show us your relevant blocks

You also can use the alarmmanager extension in combination with itoo to do something regularly in the background, for example each 15 minutes and this without showing a persistent notification…

Taifun

I’ll take a look. Thanks.