[OneSignal Plugin] “On Application Ready” action does not register any device with my OneSignal app

Forge Component
(13)
Published on 7 May by OutSystems R&D
13 votes
Published on 7 May by OutSystems R&D

My goal: to send simple push notifications to all users of my app. I tried to follow https://success.outsystems.com/Documentation/Development_FAQs/How_to_Use_Push_Notifications_with_OneSignal. However, my “On Application Ready” action does not register any device with my OneSignal app. What can be wrong?

Usually the step OnApplicationReady is only to prepare the OneSignal plugin.

You need to RegisterWithUser after successful login, then trigger Notification from logic.

Toto wrote:

Usually the step OnApplicationReady is only to prepare the OneSignal plugin.

You need to RegisterWithUser after successful login, then trigger Notification from logic.


Oh but my app does not require users to login

YS Yeo wrote:

Toto wrote:

Usually the step OnApplicationReady is only to prepare the OneSignal plugin.

You need to RegisterWithUser after successful login, then trigger Notification from logic.


Oh but my app does not require users to login

ok then, you then use Register, but when you want to send notification then you must choose the device id (if you open onesignal espace, you can view the table which will show the device id)