Once a tag has been assigned a value for a specific device using the SDK (e.g., via the setTags method), it cannot be programmatically reverted to its original NOTSET state.
The NOTSET state specifically indicates that a tag has never been assigned any value for that particular device.
If you need to effectively clear or remove the current value associated with a tag for a device, the recommended approach is to set the tag's value to an empty string ("") using the setTags method.
For example (conceptual SDK usage):
// iOS SDK Example
Pushwoosh.sharedInstance().setTags(["YourTagName": ""])
This will update the tag to hold an empty string value, which you can then potentially use in your segmentation logic (e.g., filtering for tags equal to ""), but it will not restore the tag to the NOTSET status.
Comments
0 comments
Please sign in to leave a comment.