[Discontinued] Background Tasks [4.1] 🥳

Can I send notification from firebase by running firebase in background
I want onData Change block to run in background and when data changed of firebase db i want to show notification title as tag and message as value

Is it possible with this extension ?

5 Likes

Use the same logic using the web component with events :wink:

1 Like

But how we will know what should we type in the text…

1 Like

The extension should be little bit simpl to understand

4 Likes

Just use the logics, create a component, invoke a component, do things with it’s result using save block and more. I will be posting some examples here soon. By the time you all can go through the posts here:

2 Likes

I’ve been testing since Monday :thumbsup:

19 Likes

That’s awesome! Thanks for making video on it!

4 Likes

I used the extension with exoplayer.
It turns on, it plays, but how to control it?
StopService has no effect. Exoplayer keeps playing.

1 Like

The stop service block does not have any effect on created components and should be handled by their own functions. Like start the playing of Exo player then after specific time stop the player using the invoke function block. Handling it individually may not be possibly currently. But surely in future versions of the extension.

3 Likes

I forgot to write that invoke doesn’t work.
Ok, I’m waiting for a new version :slight_smile:

1 Like

Can you please post you’re blocks here?


Actually this might be added in like 1.3 or later :sweat_smile: because it may be difficult to implement. The version 1.2 may be released tomorrow :smiley: (currently writing documentation on it :sweat:)

1 Like

1 Like

You’re not using the blocks in the right way :sweat_smile:

I see the blocks InvokeFunction on Button2 event which will never be executed because the functions are already sent when you call StartService. This is not possible currently use invoke function blocks after the service is started. As I said in the above post that you can do like to stop it after specific seconds. So sorry, this is not possible currently :sweat_smile: But have got an idea to solve the problem maybe :smiley:

3 Likes

Greate Extension !

Can You Please Share A Code Ther I Can We Run Timer Or Refresh Webdata In Some Secound

For Example I Am Using An API Service That Return Some Data On Time To Time And I Want To Notify User When API Return Data

For That We Need To Refresh Web Component And Match Some Data

How To Do This

3 Likes

There is a block called “Execute function” block which can be used to repeat created functions etc. Here is an simple extension to show alert notice using the notifier twice in the background after interval of specific seconds (Note just use the logic, the naming of the blocks are different as it was for different version of the extension):

1 Like

Timer block is not working with your Extension. Maybe it work your next release of background task extension. Or u will modify clock component as extension to according to work with event block which name as timer block In clock.

Thanks for your extension :heart: :blush:

2 Likes

Hm, events will be removed for just next update as there are issues causing it. It may be added in the next versions. In this version we have Execute function block which works as same as the clock component.

Welcome :upside_down_face:

2 Likes

Is this works same as clock works. I have to detect my ASD file from app which presents there then result will ok in my app but I need this continuously to detect it. ???

1 Like

Maxtern, could you please explain more about what you want to achieve?

1 Like

I pm you can you check it :blush:

2 Likes