1

I try to create a push notifications project that send to iOS and Android concurrently in the same moment.

I'm going to try V-Play plugin: https://v-play.net/doc/plugin-gcm/ but from guide, I can't find how to set Google Cloud Messaging in Firebase.

There is a tutorial that step by step permit to configure and try the cross platform notifications? Or could anyone see how to set the code correctly? Also I saw OneSignal, is it better then GCM?

NG_
  • 6,895
  • 7
  • 45
  • 67
Mr. Developer
  • 3,295
  • 7
  • 43
  • 110

1 Answers1

3

OneSignal is one of the most used push notification services now and a great solution. You can find an integration guide with step-by-step instructions and example code to make it work with Qt & QML here: https://v-play.net/doc/plugin-onesignal/

The push notifications are available in the Firebase Qt Plugin: https://v-play.net/doc/plugin-firebase/

  • Reading the documentation this seems like the perfect solution!!, but forgive my simple question (newbie here), how would I 'send', or tirigger a notification to be sent when for example an `AppButton.OnClicked` signal is sent? – Ldweller May 07 '19 at 20:59
  • Hi @Ldweller, you can trigger a local notification when clicking a button. In general, push notifications are sent by a server. You can head over to the Felgo support forums to ask any other questions: https://felgo.com/developers/forums/ – Christian Feldbacher May 08 '19 at 14:13