Skip to content

Add .clear() function to Wendy.

Compare
Choose a tag to compare
@levibostian levibostian released this 11 Jun 16:33
· 13 commits to master since this release
0.2.0-alpha
f9c40d4

For the use case of your users logging out of your app and you want to delete all of the data associated with them, .clear() has been added to Wendy!

Full changelog below:

Added

  • Method added to stop the task runner and delete all Wendy databases and shared preferences. Used to "reset" Wendy if your app user decides to logout of the app, for example.
  • README.md docs have been improved to include how to provide dependencies to your PendingTask instances to perform tasks such as API calls and working with a database.

Changed

  • Compile version for library updated to SDK 28 (Android P).