Hi,
I have the following structure: App->qmlPlugin->coreLibrary. Core library manages websockets connection and is active even if app is in background state. If connection gets closed or something is arrived I would like to send a notification to user and try to use Notification plugin for that. Core library informs qmlPlugin (this works) and qmlPlugin fires signal that should be catched in QML. Finally QML schedules a notification.
But when app is in background it seems to be missing event loop and signal gets received only after I put app in foreground.
Is there any way to access Notification plugin directly from C++ (qmlPlugin) to send system notification?
Thanks.