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
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:
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.
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 But have got an idea to solve the problem maybe
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):
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.
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.