ItoO - Background Tasks [special] 🥳

when add package name, from my project doesn’t work:sleepy:

without the package name it works :point_down: :point_down:


with package name doesn’t work :point_down: :point_down:

Can you explain more?

Device Model number: SM J7 2016

Hi friend, the minimum interval is 15 minutes.

Hey guys, if you find this extension useful, then you can support me.
It is really hard to maintain and provide support to such huge projects.

If you need paid support, then feel free to message me.

3 Likes

if you need to do a task periodically in less time, this worked for me:

4 Likes

This extension is amazing! Congratulations
but:

  • there is no difference for min when runWhileActive is true
  • when I change the package name it doesn’t seem to work
    tested on
    Xiami mi8 pro
    Motorola Moto G Play
2 Likes

Hey thanks for the review!

What package name? App’s package name?

1 Like

Yes
blocks

1 Like

Oh, well weird that should not happen, I will check what is wrong.

when I change the package name it doesn’t seem to work

Hi friend, thanks for the help, this is a great ext, that’s a shame doesn’t work in background, would be nice if can do in future :+1:

No friend, some android phones block it from showing a toast from background :sweat_smile:

2 Likes

yes it works, even with very complex things that store values ​​in a tiny db in the background and check lists. i love it :tada: :confetti_ball: :heart_eyes: :star_struck:

3 Likes

also works for me , great idea , but the only problem background service work only for 10 minute after that it will be killed , any idea how to solve this ??

2 Likes

Oh! Haha, didn’t know what you meant, still newly testing this between work - thanks :grin:

1 Like

Yes, that is true, depending on the type of phone you use, it will be killed accordingly.
What you have to do is, set battery optimization for the App to false and use Periodic block.

2 Likes

i have used InitializePeroidic Block, its not working properly with me the service going to be run only one time .

im using VIVO x70 pro

Completely turn off the battery optimization, and phones like Vivo, MIUI and samsung will heavily delay the execution to save battery.

Version 1.3 A

A new release is out :partying_face:

  • Boot System
    image

    From this block, you will be able to call a procedure by name, same as initialize block but when the device gets switched on/phone restarted.


  • Clear Boot System

    image

    A block to remove the boot system set (resets it).


  • State

    image

    Returns true if the app was/is active when the service was started.


  • Use Alarm API

    If set to true, the extension will use Alarm Manager API which is more accurate than the default API. This block is for Periodic tasks (InitializePeriodic block).


  • Initial Periodic Trigger

    Use this block when Use Alarm API block property is set to true. This block is to specify the first trigger (in ms) of the periodic table.


Download:
xyz.kumaraswamy.itoo.aix (26.7 KB)

11 Likes