apla/me.apla.cordova.app-preferences

Implement clearAll for all platforms

scurker opened this issue · 3 comments

It's not currently publicly documented, but there appears to be a clearAll method that clears app preferences on devices. It appears to only be implemented on Android, with a placeholder "not implemented" for iOS.

The main issue is, if you're trying to any kind of cleanup it requires you to know all the keys ahead of time and remove them individually, since there's no easy way to fetch all the keys that you've added. It would be great for scenarios like this if clearAll was implemented for every platform.

I would love to see this feature. And it would be lovely to get a list of key names we stored as well.

apla commented

I've added this functionality in 213eaf3, but it is not ready for production until I've test it under windows.

apla commented

tested under windows, released as 0.99.0