OneSignal FREE plugin for FREE and UNLIMITED Push Notifications 📱

So I’ve followed all the steps as described but haven’t been successful in getting the One Signal Player ID into bubble. When I check the workflow in debug mode, it shows that the Javascript function is not returning any value. The value in the workflow thing which is the Current User’s Mobile Id is empty, maybe that is the issue. I checked my users list on One Signal and the device IDs are captured properly in that. Have spent a lot of time figuring this out but have had no luck. This is for both Web and mobile. Can anyone help?