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

Remove anko #22

Closed levibostian closed 5 years ago

levibostian commented 6 years ago

Remove anko sqlite from project. It's a dependency that doesn't need to be there.

levibostian commented 5 years ago

After (1) attempting to remove Anko-SQL and (2) doing research on the APK size and method count of Anko-SQL, I have decided to keep this dependency in the app at least for now.

As it turns out, most of the APK size and method count for Anko-SQL comes from the Kotlin runtime. Which, I am assuming you have in your app already you're using Wendy with.

Also, if I was not to use Anko, I would copy some of Anko's design for building my own DB stack to construct tables and so on. It's not a huge library and it does SQL very well.

levibostian commented 5 years ago

I am, however, removing android-job. I will add to the README how to setup and configure the running of Wendy tasks periodically where you can use android-job in your own app or use another option such as WorkManager.