Help notifying a notification only once

thanks so much for the update but lets help me to make the notification stopped as the timer is making it keeping notifying

gVizQueryDemoTaifun2_2_1_1.aia (1.2 MB)

@Kumaraswamy @Taifun or at least lets make the clock notify only once so no need to add buttons if the notification only notified once

as suggested earlier

Add a debug statement using the Notifier LogInfo method in that procedure and use logcat to find out what's going on

unknown
Taifun

@Taifun Let's check my blocks it's being added but still doesn't close the notification and I guess if it closed it it will not work again until opening the app again

The handleButtonClick is being triggered when I tested the project yesterday. Itoo's StopProcess might be failing.

Instead make use of Itoo's Store/Fetch property blocks.

In Background check for true or false, if the process needs to be stopped.
When handleButtonClick, set the value to true to indicate the message.

your blocks are fine
I repeat: add debug statements and use logcat!

Taifun

close button succeded to call the notifier but it doesnt work to close ito from the first click, i clicked much to make it closed but also when it closed, it doesnt work anymore when changing the num as i need to open the app to make itoo working again, so how can i fix that issue


gVizQueryDemoTaifun2_2_1_1.aia (1.2 MB)

how can i make that achieved to try as i dunno what to add in the if equation for that fetchproperty as its a count num?

@TIMAI2 @Kumaraswamy
am working on a count numbers app and a chatting app, all i want notifications like whatsapp for example to notify only once as the clock block is keeping it notifying much so if you helped me in that it will be better for me to use the simple notification than button notifications if it is notifying only once every time whatever the count num changed or the chat message changed!, thanks in advance all of you for your help

Not quite sure why you tagged me in on this?

However, if it were me, I would simplify down to the very basic requirements so I could see what is happening, then choose the correct route to resolve the issue.

Step by step, debug, until you find what you are looking for.

sorry i mentioned you by a mistake

@Kumaraswamy i tried your suggestion but it is still keeping notifying!

is that text changed block logic true?
am sure it will fix the issue if i make the logic true

i tried that way as well but didnt work


No
In the background there do not exist user interface components
There is no such thing as text changed in the background

As already mentioned in your other rhread

Taifun

ok lets at least show me a sample block for how is the text changed working?
i still dont know how its working

Start reading again from here

and follow the already given recommendations instead of ignoring everything

Taifun