cordova-plugin-cloud-settings icon indicating copy to clipboard operation
cordova-plugin-cloud-settings copied to clipboard

[FEATURE] remove() API

Open pliablepixels opened this issue 7 years ago • 2 comments

Hi, would it make sense to provide a remove() API? I'd like to give an option to users to completely remove their cloud data, if they choose to do so. Right now, there doesn't seem to be a way to completely remove the data, just set it to empty, which is not quite the same.

Thanks.

pliablepixels avatar Aug 31 '18 16:08 pliablepixels

Removing existing settings can be achieved by simply calling save({}). But a remove() alias for this could be added sometime in future.

dpa99c avatar Sep 03 '18 09:09 dpa99c

ah ok, thats fine then. Given you've added a label to this, feel free to close it or keep it open (I don't need an alias, as long as the feature exists)

pliablepixels avatar Sep 04 '18 14:09 pliablepixels