Open Source β€’ Background Tasks: Itoo πŸš€

Unfortunately the app doesn't work. When you click on the read button, the SMS application closes. I used the example that came with the extension. Android 10, Abdroid 12.

I'm sorry I cannot do anything about it, you should contact the Author @Taifun or else you would need to search for alternative extensions.

The example app is from 2016. To get it running you have to add an AskPermission block as described in the documentation. I now have updated the example app App Inventor Extensions: Texting | Pura Vida Apps...

example0

Taifun

Yes, thanks, everything works, I did not read carefully :slight_smile:

Hi! Thanks for making this awesome extension! However, I can't find the Notification Block.
image
image

You'll have to use a separate notification extension in conjunction:

1 Like

The Notification Style extension may not work in newer Android versions. Use this instead.

2 Likes

Ok, thanks for answering my question! I will try this later to see if this works!

It works perfectly, thank you so much!

1 Like

I would like to add a function to my weather app to call an api request, check for new weather alerts, an then post a notification (via another extension) every five minutes. Can this be done with this extension?

Hi, yes what you said is possibile to do with this extension, you need to use a normal background process that will check for weather alerts to inform the user, you can check the examples to begin testing with.

1 Like

This example is similar to what you want:

1 Like

Could you help us by explaining how this component works? to be able to implement it

imagen

It is exactly same as the CreateProcess block, but difference is, it calls the procedure when the phone boots up.

What am i missing?

Try moving the register function before the Web1.GotText, also you maybe using old notification styles component, if not, you can PM me the .apk or .aia.

Now it works fine

2 Likes

This process is ongoing on other devices. But on Xiaomi devices the process is stopping after 15 or 30 minutes. Said to keep Restart event true for Xiaomi devices. But please someone show example how to do it?

This might be helpful

Taifun

2 Likes

Google had promised to enforce rules against these custom OEM over background restrictions, but unfortunately there's nothing done yet.