Skip to content

Commit 5cca2cf

Browse files
committed
Update the Migration Guide to include getTags
1 parent 26a5b52 commit 5cca2cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MIGRATION_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ The user name space is accessible via `OneSignal.User` (in Kotlin) or `OneSignal
271271
| `fun addTags(tags: Map<String, String>)` | `void addTags(Map<String, String> tags)` | *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.* |
272272
| `fun removeTag(key: String)` | `void removeTag(String key)` | *Remove the data tag with the provided key from the current user.* |
273273
| `fun removeTags(keys: Collection<String>)` | `void removeTags(Collection<String> keys)` | *Remove multiple tags from the current user.* |
274-
274+
| `fun getTags()` | `Map<String, String> getTags()` | *Return a copy of all local tags from the current user.*
275275

276276
**Session Namespace**
277277
The session namespace is accessible via `OneSignal.Session` (in Kotlin) or `OneSignal.getSession()` (in Java) and provides access to session-scoped functionality.

0 commit comments

Comments
 (0)