[Discontinued] Background Tasks [4.1] 🥳

Нi @Xoma

hmmm, then why does it work in version 3.7 (and below 3.5, 3.4…)?

1 Like

Not sure, you may be accidentally deleted a block, can you check that once?

1 Like

@Xoma

I just change (in extension) version 3.8 -->3.7 and everything works.
(Only change version 3.8 -->3.7 in Kodular-project).

version 3.7 :

version 3.8 :

1 Like

hi guys good morning, i’m trying to get the extension to work but i’m having problems. Below I attach my blocks. Basically I would like that when the values change in firebase I get a notification on the phone.
Is there anyone who can tell me where I am wrong and who can help me?
Thank you all

2 Likes

@Gian_Luca

you forgot Start Service.

2 Likes

@ woo_ask
I don’t know how to do it … can you help me please
I can’t find START SERVICE in the extension blocks

1 Like

image

You forgot to add this

1 Like

Here in requiredNetwork change None to ANY

1 Like

@ Bharat_Android_App_Develo

I thank you, I added the block you said but when I change the data on firebase no notification appears
FALSE appears only if we press button 1

1 Like

use version 3.7

1 Like

Try once in foreground service to true

1 Like

7 posts were merged into an existing topic: Hello guys. Is it possible !?!?

@xoma,
by the way: if the application is made system application, it will not be killed by the android system)))

*need root

1 Like

hi guys, but if the app installed on the mobile is closed, then removed from the apps in the background, should it continue to work or no longer work?

1 Like

@Xoma
is it possible to write to a file from the background?
(values variable in file).

1 Like

image
is there any way to get:
hour:minutes:seconds
I need the output in this format

1 Like

I will not be able to reply for some days, I’m on a break.

2 Likes

Hi, @Xoma.

I managed to solve this problem and now we can save the value obtained after calling the function “MakeExtra ← invoke[id_function]”.
(can be saved in TinyDB or data:mydata or more).

we get:

To do this, I needed to create an extension:


files:
-ReceiveTransmit.aix (6.6 KB)
-invoke_values_3_7_for_Kodular.aia (497.6 KB)

@Xoma, If there is a desire and an opportunity, please add such functionality to version 4.0
:slight_smile:

6 Likes

Now we can apply comparison, math, or monitoring operations to the values obtained after calling the function "MakeExtra ← invoke[id_function]”.

2 Likes

I did what you said. I downloaded it to the phone. I am manually changing data from Firebase, but no notification is received on the phone. I want to receive a warning when a value changes in Firebase, even if the application is closed. I’m so tired now. Please help me.