levibostian / Wendy-Android

Build offline first Android mobile apps. Remove loading screens, perform tasks instantly.
https://levibostian.github.io/Wendy-Android/wendy/
MIT License
64 stars 16 forks source link

Is there a way to not have Wendy use Realm for running tasks? #13

Closed levibostian closed 6 years ago

levibostian commented 7 years ago

I do not like that when I need to create a pending api task, I need to create a realm model, do a realm migration, etc.

If I could take out the need realm that would be awesome. Is there a way to have Wendy have it's own SQLite DB built in or another method of persistent storage. You send data to Wendy, it takes care of storing the data. You can override a wendy protocol, send that object to wendy, it takes care of saving the task and running it. No need to use realm as the developer.

This should take care of this issue: https://github.com/levibostian/Wendy/issues/9

levibostian commented 7 years ago

This is being addressed in the newest version I just created. I will have it updated in the lib soon.

The new version uses SQLite internally but allows the end dev user to use whatever persistence storage method they choose.