Skip to content

Commit

Permalink
Update migration guide to include getTags
Browse files Browse the repository at this point in the history
  • Loading branch information
jennantilla committed Dec 4, 2023
1 parent f759eca commit c076c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The User namespace is accessible via `OneSignal.User` and provides access to use
| `OneSignal.User.addTags({"KEY_01": "VALUE_01", "KEY_02": "VALUE_02"})` | _Add multiple tags for the current user. Tags are key:value pairs used as building blocks for targeting specific users and/or personalizing messages. If the tag key already exists, it will be replaced with the value provided here._ |
| `OneSignal.User.removeTag("KEY")` | _Remove the data tag with the provided key from the current user._ |
| `OneSignal.User.removeTags(["KEY_01", "KEY_02"])` | _Remove multiple tags with the provided keys from the current user._ |

| `OneSignal.User.getTags()` | _Returns the local tags for the current user._|
## Push Subscription Namespace

The Push Subscription namespace is accessible via `OneSignal.User.pushSubscription` and provides access to push subscription-scoped functionality.
Expand Down

0 comments on commit c076c28

Please sign in to comment.