👁 itoo Push Notification Examples for ALL!

This method will show a fixed notification while the process is running.

Yes, a foreground process must display a persistent notification. For newer devices starting from Ansroid 14 this can be dismissed. Use the StopProcess method from itoo to end the foreground process which then also removes the notification

Taifun

1 Like

gracias, disculpa la molestia, en donde me aconsejas que ponga stopProcess para q sea automático según mis bloques?

When do you like to stop your processing in the background? On button click? If yes, put the StopProcess method into a button click event
Taifun

hola nuevamente, incluí un botón para probar el stopProcess, y la notificación fija se fue, pero cuando hago un cambio en firebase ya no me llegan las notificaciones, deja de funcionar el segundo plano. eso quiere decir q si otro usuario manda una notificacion y la app esta cerrada ya no le llega a nadie q alla hecho el stopProcess. que puedo hacer para que me sigan llegando las notificaciones y sin q me quede la notificacion fija?

If you want to keep checking in the background your database, then do not stop the process
You will still see the notification, which can get dismissed for newer Android versions

Whkch Android version are yoi using for your tests?

Taifun

Uso un motog32 con android 13.
Entonces solo a las versiones debajo de A 13 le seguirá persistiendo el mensaje de error y a las nuevas no?

Yes

CreateProcess requires to show a persistent notification, which can be dismissed through a simple swipe (starting from Android14).

Taifun

Muchisimas gracias por su pasciencia..

Hi I am Trying to Store GPS Coordinates even when apps is closed is it possible ?

Please only ask in one place, otherwise it can get confusing.

Is there a creative way i can eliminate that notification than all users than only one mentioned as below so if the notificationbos=namebox, the notification should work for him only?

You already asked the same question on July this year, I provided an example.

1 Like

i requested before for eliminating users and make the notification working for drivers only and i tried many way and didnt work, the only thing worked with me that i called it by TINYDB LIKE BELOW
image
but now i wanna another notification for only one user should the notification if the user choosed the driver, the driver only should receive the notification, i made it like below but didnt work

Hi, I tried notification with google sheets. Updated all the IDs mentioned and when i test the URLs they work. But somehow, when i download the MIT code and install, i just opens a blank black screen. Dont see the app components. Pls help.

Show all your relevant blocks, including anything in your Screen1.initialise.

Thank you for your response. Kindly find the code attached.
iTooapp_code.pdf (118.2 KB)

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks... please do not post pdf files.

To download the pdf file, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Thanks for the pointers. Sorry for attaching the pdf. Will the below image work? I am using the sample code with my google form and sheet links.

The notification style extension is outdated. Replace it with

EDIT: also usually you register all events only once in you main procedure, which is called bgTimerUpdate

Taifun