Can we use whenFirebaseDataChanged function in background using Itoo Background Tasks Extension

Hello Everyone , I came across this wonderful extension on kodular that allows us to run procedures and functions even in the background.

So I have an app in which I need to keep an check on a specific firebase tag. And whenever the value in that tag changes, I want to show user a alarm or notification.

For this I tried to use Firebase On Data Change Block but I confused on how to use that.

Could anyone help me guiding in this??:pray:t2::pray:t2:

Especially the developer himself @Xoma

1 Like

You can go through the docs, and try the blocks, if you are stuck then ask it here :slightly_smiling_face:.

I have used firebase extension and I have successfully used data changed blocks .

They work fine .

But I am confused on how to use this with Itoo background tasks extension.

4 Likes

same problem

the latest version of itoo can do it
see the first post there including an example of how to setup Firebase for itoo

Taifun

2 Likes


I am using firestore, its working fine when application open or in background, but I killed application in background then not recived notification… Plz help me taifun

Read the first post from the itoo thread to find out how to work with itoo and follow the guidelines

Your blocks as they are will not work in the background

Taifun

1 Like