Click event for the push notifications
-
Hello everybody!
I have programmed the push notifications (hereinafter referred to as PN) with the example "Qt Notifier". It has also worked well. Now, this example does not show how to program an click event on the PN, that gets the app to the foreground.
I have found no other examples on this topic on the net.
Does anyone know a good source on this topic or knows someone exactly which method from which class can be used for this?
Thank you and best regards
[German: https://forum.qt.io/topic/82851/push-notifications]
[Russian: https://forum.qt.io/topic/82870/сообщения-push-notifications][Added crosslinks ~kshegunov]
-
Hi and welcome to devnet,
AFAIK, it's something you have to do at the activity level (note that I haven't tested it yet).
You can check that stack overflow thread which might give you a useful pointer to get started.
Hope it helps
-
You're welcome !
If that answers you question, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)