you are trying to do something (in this case send a notification) regularly every 30 minutes
this is a job for an alarmmanager
search the community for a free basic alarmmanager or use my paid alarmmanager with advanced features App Inventor Extensions: Alarm Manager | Pura Vida Apps
Earlier i built a mqtt app, which was stooping after sometime. Because of that I am sending notification message every 30 minutes with timestamp to see after how long the app stops.
Yes, unrestricted battery background usage is enabled
Thanks for the reply. But for some reason, this block wasn't being called in the background. I've already rewritten the extension code. Now the code automatically determines next Friday, and the problem has been solved. Reconciliation is no longer necessary.
Hi,
Is it possible to download files in the backround using the Web component or are there any permission issues?
My app has the 'App' DefaultFileScope and can successfully download files to its apps directory. However when i register a background download event, i can see it is being successfully triggered and connects to the download web server, yet no file is being saved locally.
This is the most basic form.
I can see it connecting to the server in the background each 5 seconds but no file is being downloaded.
The Web component downloads the file successfully when used from within the app.
As far as i understand the GotFile event is irrelevant to the download process itself. It enabled us to show the user if the download was successful or not but removing it from the application will not fail the download itself (tested)..
Ok, i now understand that unlike the previous scenario,i have to register the GotFile event even if i don't actually do anything with as it is still required for the download process in the background.
help 01-14 12:12:57.582 E/ActivityThread( 7457): Service xyz.kumaraswamy.itoo.ItooService has leaked IntentReceiver xyz.kumaraswamy.itoo.ItooService$EndActionReceiver@ef3ab11 that was originally registered here. Are you missing a call to unregisterReceiver()?