"Failed To Register" Push Notification using OneSignal

"Failed To Register" Push Notification using OneSignal

  

Hi, We are trying to send push notification using OneSignal Plugin.

We have follwed all the setps given in the below link:

https://success.outsystems.com/Documentation/Development_FAQs/How_to_Use_Push_Notifications_with_OneSignal?origin=d

We have created a small mobile app and while clicking on a button we are trying to call the "SendPushNotificationToAll". Also we have included the "Register" action in OnApplicationReady system event. In none of the cases we are getting any message.


We are checking the message in the message tab of the app's onesignal page.




Hi Prasanta,


When you access to OneSignal page, in Delivery message, can you see the messages? Are you sure you were sent to the OneSignal?

Paulo Cação wrote:

Hi Prasanta,


When you access to OneSignal page, in Delivery message, can you see the messages? Are you sure you were sent to the OneSignal?

Hi Paulo,

Thanks for your reply...the problem is solved ..now we are able to receive notification on button click. We had to install the app in mobile...The motification works neither in desktop browser nor using OutSystemNow.

Currently we are checking how we can automate this using Timer. Timer is for Server action and we have our registerwithuser in client action, we are not sure how we can achieve this. Any pointer towards the solution is highly appreciated.


Hi Prasanta,


What is the advantage of using a Timer? OneSignal registration should happen when you login or register a user in the application.

When you do logout, you need to put the disable notifications in OneSignal. Do you need to send specific notifications to specific users? This is possible using OneSignal :)