How to get time when One signal Push Notification Received

in my 1 application send push notification. i need to set when push notification received time like 3 min ago 3 hours ago.

You can use these extensions for that:

1 Like

You can store the time of message received in database and put a stopwatch on the label that show the time.

but when notification received if application not opened than block not working

I only use OneSignal only in one of my apps to only send notifications :onesignal:

But you couldn’t use the API to get notifications including the time?

Correct me if I’m wrong, I don’t give much importance to the component because until now I only used the basics :upside_down_face: