Push notification

I send message from OneSignal and my device shows the notification.It is ok but I also want to see th “text of the notification” on a label. How must the blocks be?

You can do like this:


1 Like

thanks @ProKoder . Solved by you

Good to know!

Don’t tag Prokoders group.

1 Like

What a mistake!!! Sorry

It works, when the app is open. But, if the app is not open, label does not show the text. What must I use? Tiny DB or else? How must the block be?

Kodular does not work in background… Your method will only work when the app is open

As the notification from OneSignal is received even if the app is closed. So you can use this block:

blocks (2)
When user tap on the notification, app will open and show message in a label.

Try and post result.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.