Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Push notifications for an ios/android app in qt?

Push notifications for an ios/android app in qt?

Scheduled Pinned Locked Moved Mobile and Embedded
push notificatiparse.comiosandroidqt 5.4
5 Posts 3 Posters 7.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    greenhouse
    wrote on 12 May 2015, 19:20 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      feldifux
      wrote on 19 May 2015, 08:29 last edited by feldifux
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • F Offline
        F Offline
        feldifux
        wrote on 19 May 2015, 08:32 last edited by
        #3

        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/ParseSample

        Cheers, Chris

        1 Reply Last reply
        1
        • M Offline
          M Offline
          mrdebug
          wrote on 20 May 2015, 06:55 last edited by mrdebug
          #4

          Does your plugin works if the app is minimized?

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          1 Reply Last reply
          0
          • F Offline
            F Offline
            feldifux
            wrote on 20 May 2015, 09:15 last edited by
            #5

            Yes it does also work if the app is closed or put into background.

            1 Reply Last reply
            0

            1/5

            12 May 2015, 19:20

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved