Hello Everyone,I’m using OneSignal push notifications in an OutSystems Digital Cloud (ODC) mobile app. I configured the AppId into the Register Device action (first step) to obtain the OneSignal UserId (player id) and then use that id in Post Notification. But the UserId is always empty (and no error shown). I can send notifications from the OneSignal console, so the app + OneSignal setup works there.While trying to push notification logically its not working.Device : Android 11
.Any idea what I’m missing?Thanks
Hard to say with the scenario/info you described.
Can you see if the OneSignal API is being called? With that you can try to identify if the problem is on the communication between OS and OneSignal or if it is even before that.
Hi @Rakesh K ,
Below points might help:
Call Register (no login) or RegisterWithUser (after login) at the right lifecycle moment (e.g., OnApplicationReady or post-login).
Verify the correct OneSignal AppId is being used and passed correctly.
Make sure the app is installed on a real device (push does not work in OutSystems Now).
Confirm the app requests and is granted notification permissions, especially on newer Android versions.
Check the OneSignal dashboard → Users to confirm the device is registered and has a valid Player/User ID.
If the Player ID is empty, it usually means the registration step didn’t execute or complete successfully.
check below link as well for reference:
https://www.outsystems.com/forums/discussion/48772/onesignal-plugin-push-notifications-not-working/
https://www.outsystems.com/forums/discussion/74809/onesignal-push-notifications-unable-to-find-user-id/
https://www.outsystems.com/forums/discussion/64396/how-do-i-get-one-signal-player-id/
Hope this helps,
Regards,
Manish Jawla