0
votes

I have an online application for Smart Devices created in Genexus X Evolution 3 (U2) wich has notifications enabled (only for android at the moment) but for some reason that I don't know, I can't register the devices to send the notifications later. This are the steps that I followed:

  • I have created the credentials (API Sender ID & API Sender Key) For the Google Messaging Cloud Service just like the Wiki said.
  • I set up my Main Object (SD Panel for Smart Devices, NOT Dashboard) with those credentials.
  • In this same Main Object I use the procedure NotificationRegistrationHandler in order to automatically register the devices.
  • I created a transaction (named "Device") with 4 attributes (The ones that are "in" parameters in the procedure NotificationRegistrationHandler)
  • Then I un-comment the code in the procedure. It matches my new transaction, navigation is perfect.

In theory, this procedure should be excecuted automatically everytime I launch my application and register the device in order to be able to send it notifications later. But the registration never happens. I have though a blank notification at launch and I don't know why. (Here's an image: http://i.stack.imgur.com/Inqqe.png).

Why could this be happening? Is there something I'm missing?

Best Regards.

2

2 Answers

1
votes

Upgrade 3 for Xev3 includes a fix for this empty notification. Look at SAC #37858

0
votes

As of GeneXus 15 upgrade 3 (or higher), GeneXus integrated a new native way of sending and receiving Push Notifications using OneSignal provider.

We highly recommend to migrate to this new API, as the older one is deprecated and will not be updated with new features.