Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

Feature: deleteTag method #133

Closed fmacherey closed 2 years ago

fmacherey commented 2 years ago

Hey guys,

it looks like the deleteTag method is missing in this packages, but is supported by the REST-API. Could you please provide this method?

Thanks

wfhm commented 2 years ago

Hi @fmacherey

This is actually not there for a reason - the /deleteTag API method is used for deleting the tag itself from your Pushwoosh account, not for clearing its value for a particular device, so it is not related to the SDK functionality at all.

If you want to clear a Tag value from a device, you can just set its value as an empty string.