react-native-onesignal
react-native-onesignal copied to clipboard
getTags retrieves other user's data tags
Description:
We are using data tags to tag users with different attributes. The issue we noticed is:
- User logs in into the app, if data tag is not present, set it.
- User logs out
- Different user account logs in the same device, data tag is present from previous user.
Is there some limitation in place, where the data tags are set on device level and different accounts with playerIDs are ignored?
Would really appreciate any advice on this issue.
Environment
OneSignal version: "^4.3.11" React native version: ""0.65.1" Followed docs and used yarn
@zirgulis By different playerIDs do you mean different externalUserIds? Player IDs are device specific and do not change if the externalUserId is changed.
Is there some limitation in place, where the data tags are set on device level and different accounts with playerIDs are ignored?
Yes currently tags go on the player id (device). We are aware of the limitations of handling "users" this way and are working on a change!
Just wanted to note that in our new major release (5.x.x) we have updated to a new user-centric model that addresses this feedback. Please refer to our migration guide for details on upgrading. Thanks!