[OneSignal Plugin] Notification Received event while app is not running
Forge component by Platform Maintenace

How can we handle the Notification Received event if the app is not running on the device? 

We were able to successfully handle the events OnNotificationReceived and OnNotificationOpenened while the app is running provided by the "OneSignal" Block, however we need to handle them when the app is not running aswell.

I had imagined we could call a rest api for example when a push notification is received, how can we achieve this ? 


Hi Guys,

As Far as I know we can't handle this scenario directly in Outsystems. 

In the meantime I found out that Onesignal service has already one SDK that will handle that scenario as described here:

However for android it requires at least OneSignal-Android-SDK version 3.12.0 and the one that OutSystems OneSignal Plugin is using is 3.11.4.

I changed the Outsystems plugin to use OneSignal-Android-SDK version 3.12.0 and It seems to be working. 

Will continue work on this subject and will try to post feedback here.

Meanwhile is there any official updates planed that address this?

Any news for this?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.