jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

Would be nice to have a clear all settings method in CrossSettings #274

Closed bmmathe closed 8 years ago

bmmathe commented 8 years ago

Please take a moment to fill out the following (change to preview to check or place x in []):

This is a

Which plugin does this impact:

Version Number of Plugin: 2.1.0

For debugging purposes it would be nice to have a way to clear all settings in the CrossSettings.Current object. It would also be helpful in a "Delete Profile" scenario.

Korayem commented 8 years ago

I would say this is utterly important, not just in Debugging because for apps with authentication, we must clear all cache upon user's logout to ensure next user who'll login won't see any old cached data.

It can be done now through a foreach on list of cache keys, but a big "CLEAR'EM ALL" panic button will be lovely :)

jamesmontemagno commented 8 years ago

This issue was moved to jamesmontemagno/SettingsPlugin#6