Since I can’t see your code and see where you’re calling the function, Prefs.clear(), I can only guess you’re maybe calling it in a dispose() function after you’ve called, Prefs.dispose().

Please, don’t post your code here, but instead, email me your code where you’re calling the function, Prefs.clear(): support ‘@’ andrioussolutions.com

Written by

Freelance Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store