[OneSignal Plugin] SetTags after RegisterUser

Forge Component
(9)
Published on 2018-10-19 by OutSystems R&D
9 votes
Published on 2018-10-19 by OutSystems R&D

Hi.

I'm trying to set some tags just after RegisterUser and the result is bad request error. After some digging I noticed that the first time i use RegisterUser the playerId on Device entity is not the same of the playerId on OneSignal website, and that I think this is the reason for the error. If i run again the RegisterUser, it updates for the correct playerid and then the SetTags works.

Am i doing something wrong?

Thanks

Nuno Morgado