Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: No tags appears in dashboard after i send them with Onesignal.User.addTags() #1589

Closed
3 tasks done
ihar-dambrouski opened this issue Oct 17, 2023 · 4 comments
Closed
3 tasks done

Comments

@ihar-dambrouski
Copy link

What happened?

No tags appears in dashboard after i send them with Onesignal.User.addTags(); No errors in console, all is ok.

image image image image

Steps to reproduce?

1) Initialize sdk OneSignal.initialize('id');
2) Try to add tags with Onesignal.User.addTags()

What did you expect to happen?

I want to see tags in dashboard attached to user

React Native OneSignal SDK version

5.0.2

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@iAmWillShepherd
Copy link

iAmWillShepherd commented Oct 17, 2023

I think you tagged the wrong version. addTags is now sendTags in version 5.0.2. Please update to the latest version and confirm this issue still happens there.

@ihar-dambrouski
Copy link
Author

image image @iAmWillShepherd

@jennantilla
Copy link
Contributor

Hi @ihar-dambrouski! Sorry for the mix up, you had it correct the first time with addTags.

I can't quite tell from the code you provided, are you adding the tags as an object? I see you passing in newTags as a parameter but am unsure of its type.

Here is an example:
OneSignal.User.addTags({my_tag1: 'my_value', my_tag2: 'my_value2'});

If you are still having issues, can you please send the full log so we can help diagnose?

Thanks!

@jennantilla
Copy link
Contributor

Closing this issue due to no response. @ihar-dambrouski if you are still having issues please let us know, we'd be happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants