Push notification bug

I get push notification (onesignal) get user id, but I get a value of “-1”, how can I get past it?

This post was flagged by the community and is temporarily hidden.

Your answer have nothing to do with the question

3 Likes

It’s a timing issue. If you retry asking for the player_id just few seconds thereafter, then you will get the player_id in what the device is registered.
The kodular push component should have a event block to get the player_id.