Push notifications not working!


Calling push notifications GetUserId in my published iOS and downloaded Android apps is not executing and this is holding up my whole app. Anyone else have this issue or know how to fix it??

Have you set up your OneSignal account and connect it with your app?


Yes it all works and has been tested. It works on the Live app. I have a feeling the call GetUserId is returning null and the blocks after it are not executing because of that (I have noticed similar behaviour in terms of not executing recently with other blocks).


@Deluxe @jane @wei

This is returning undefined for the full 10 seconds. Yet I know Push_Notification1 is connected fine as I can still send notifications to this device along with all subscribed users through OneSignal. I need the UserId so that I can send user specific messages.

Solved as per Push Notifications GetUserId failing!!! · Issue #837 · thunkable/thunkable-issues · GitHub