Push notifications for an ios/android app in qt?
-
wrote on 12 May 2015, 19:20 last edited by
Hi,
I have to write a simple app for ios/android to be able to receive a push notifications from a back-office (parse.com I guess) and display them to a user.
Can I do it in qt?
Regards.
-
wrote on 19 May 2015, 08:29 last edited by feldifuxThis post is deleted!
-
wrote on 19 May 2015, 08:32 last edited by
Hi,
you can use this Qt plugin for Push notifications.Here is some sample code:
import QtQuick 2.1 import VPlayPlugins.parse 1.0 Parse { applicationId: "<PARSE-APP-ID>" clientKey: "<PARSE-CLIENT-ID>" onNotificationReceived: { console.debug("Received new notification") } }
And here is a push notification example on Github:
https://github.com/vplayplugins/ParseSampleCheers, Chris
-
wrote on 20 May 2015, 06:55 last edited by mrdebug
Does your plugin works if the app is minimized?
-
wrote on 20 May 2015, 09:15 last edited by
Yes it does also work if the app is closed or put into background.
1/5